XEventFileSerializer Class

Represents the serialize events from PublishedEvent object into file.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.XEvent.Linq.XEventFileSerializer

Namespace:  Microsoft.SqlServer.XEvent.Linq
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
Public Class XEventFileSerializer _
    Implements IEventSerializer, IDisposable
'Usage
Dim instance As XEventFileSerializer
public class XEventFileSerializer : IEventSerializer, 
    IDisposable
public ref class XEventFileSerializer : IEventSerializer, 
    IDisposable
type XEventFileSerializer =  
    class 
        interface IEventSerializer 
        interface IDisposable 
    end
public class XEventFileSerializer implements IEventSerializer, IDisposable

The XEventFileSerializer type exposes the following members.

Constructors

  Name Description
Public method XEventFileSerializer Initializes a new instance of the XEventFileSerializer class with the specified file name.

Top

Methods

  Name Description
Public method Dispose() Releases all resources used by the current instance of the XEventFileSerializer class.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the XEventFileSerializer class and optionally releases the managed resources.
Public method Equals (Inherited from Object.)
Protected method Finalize Allows the object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SerializeObjectData Serializes the event data to an output stream.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.XEvent.Linq Namespace