EventBookmark Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Creates a bookmark that identifies an event in a channel.
public:
EventBookmark(System::String ^ bookmarkXml);
public EventBookmark (string bookmarkXml);
new System.Diagnostics.Eventing.Reader.EventBookmark : string -> System.Diagnostics.Eventing.Reader.EventBookmark
Public Sub New (bookmarkXml As String)
Parameters
- bookmarkXml
- String
An XML string that represents the bookmark.
Applies to
EventBookmark(SerializationInfo, StreamingContext)
Initializes a new instance of the EventBookmark class from the specified SerializationInfo and StreamingContext instances.
protected:
EventBookmark(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EventBookmark (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Diagnostics.Eventing.Reader.EventBookmark : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventBookmark
Protected Sub New (info As SerializationInfo, context As StreamingContext)
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.