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.

C#
public sealed class EventBookmark
C#
[System.Serializable]
public class EventBookmark : System.Runtime.Serialization.ISerializable
C#
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

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9