XEventFileSerializer Class

Definition

Represents the serialize events from PublishedEvent object into file.

public ref class XEventFileSerializer : IDisposable, Microsoft::SqlServer::XEvent::Linq::IEventSerializer
public class XEventFileSerializer : IDisposable, Microsoft.SqlServer.XEvent.Linq.IEventSerializer
type XEventFileSerializer = class
    interface IEventSerializer
    interface IDisposable
Public Class XEventFileSerializer
Implements IDisposable, IEventSerializer
Inheritance
XEventFileSerializer
Implements

Constructors

XEventFileSerializer(String)

Initializes a new instance of the XEventFileSerializer class with the specified file name.

Methods

Dispose()

Releases all resources used by the current instance of the XEventFileSerializer class.

Dispose(Boolean)

Releases the unmanaged resources used by the XEventFileSerializer class and optionally releases the managed resources.

Finalize()

Allows the object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection.

SerializeObjectData(IMetadataGeneration, IntPtr, UInt32)

Serializes the event data to an output stream.

Applies to