共用方式為


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 命名空間