EventBookmark 類別

定義

表示事件資料流中的預留位置 (書籤)。 您可以使用預留位置 (Placeholder) 來標記位置 (Position),並返回事件資料流中的這個位置 (Position)。 這個物件的執行個體可以從 EventRecord 物件取得,在這種情況下,它會對應至該事件記錄的位置。

public ref class EventBookmark
public ref class EventBookmark sealed
public ref class EventBookmark : System::Runtime::Serialization::ISerializable
public class EventBookmark
public sealed class EventBookmark
[System.Serializable]
public class EventBookmark : System.Runtime.Serialization.ISerializable
type EventBookmark = class
[<System.Serializable>]
type EventBookmark = class
    interface ISerializable
Public Class EventBookmark
Public NotInheritable Class EventBookmark
Public Class EventBookmark
Implements ISerializable
繼承
EventBookmark
屬性
實作

建構函式

EventBookmark(SerializationInfo, StreamingContext)

從指定的 EventBookmarkSerializationInfo 執行個體,初始化 StreamingContext 類別的新執行個體。

EventBookmark(String)

建立書籤,以識別通道中的事件。

屬性

BookmarkXml

取得表示書籤的 XML 字串。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetObjectData(SerializationInfo, StreamingContext)

將序列化目標物件所需要的資料填入 SerializationInfo 物件中。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

SerializationInfo 物件中填入序列化目標物件所需的資料。

適用於