XEventFileSerializer 类

Represents the serialize events from PublishedEvent object into file.

继承层次结构

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

命名空间:  Microsoft.SqlServer.XEvent.Linq
程序集:  Microsoft.SqlServer.XEvent.Linq(在 Microsoft.SqlServer.XEvent.Linq.dll 中)

语法

声明
Public Class XEventFileSerializer _
    Implements IEventSerializer, IDisposable
用法
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

XEventFileSerializer 类型公开以下成员。

构造函数

  名称 说明
公共方法 XEventFileSerializer Initializes a new instance of the XEventFileSerializer class with the specified file name.

页首

方法

  名称 说明
公共方法 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.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize Allows the object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection. (覆盖 Object.Finalize()。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SerializeObjectData Serializes the event data to an output stream.
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.XEvent.Linq 命名空间