EventBookmark Constructors
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.
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. |
- 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.
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
.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 |
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: