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
- 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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈