EventBookmark Constructors

Definition

Overloads

EventBookmark(String)

Creates a bookmark that identifies an event in a channel.

EventBookmark(SerializationInfo, StreamingContext)

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

EventBookmark(String)

Source:
EventBookmark.cs
Source:
EventBookmark.cs
Source:
EventBookmark.cs
Source:
EventBookmark.cs
Source:
EventBookmark.cs
Source:
EventBookmark.cs

Creates a bookmark that identifies an event in a channel.

C#
public EventBookmark(string bookmarkXml);

Parameters

bookmarkXml
String

An XML string that represents the bookmark.

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
Windows Desktop 7, 8, 9, 10

EventBookmark(SerializationInfo, StreamingContext)

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

C#
protected EventBookmark(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

A SerializationInfo object that contains the information required to serialize the new EventBookmark object.

context
StreamingContext

A StreamingContext object that contains the source of the serialized stream that is associated with the new EventBookmark.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1