Upravit

Sdílet prostřednictvím


EventBookmark Class

Definition

Represents a placeholder (bookmark) within an event stream. You can use the placeholder to mark a position and return to this position in a stream of events. An instance of this object can be obtained from an EventRecord object, in which case it corresponds to the position of that event record.

public ref class EventBookmark sealed
public ref class EventBookmark : System::Runtime::Serialization::ISerializable
public ref class EventBookmark
public sealed class EventBookmark
[System.Serializable]
public class EventBookmark : System.Runtime.Serialization.ISerializable
public class EventBookmark
type EventBookmark = class
[<System.Serializable>]
type EventBookmark = class
    interface ISerializable
Public NotInheritable Class EventBookmark
Public Class EventBookmark
Implements ISerializable
Public Class EventBookmark
Inheritance
EventBookmark
Attributes
Implements

Constructors

EventBookmark(SerializationInfo, StreamingContext)

Initializes a new instance of the EventBookmark class from the specified SerializationInfo and StreamingContext instances.

EventBookmark(String)

Creates a bookmark that identifies an event in a channel.

Properties

BookmarkXml

Gets the XML string that represents the bookmark.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data required to serialize the target object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data needed to serialize the target object.

Applies to