EventSourceAttribute.Guid Property
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.
Gets or sets the event source identifier.
public:
property System::String ^ Guid { System::String ^ get(); void set(System::String ^ value); };
public string Guid { get; set; }
public string? Guid { get; set; }
member this.Guid : string with get, set
Public Property Guid As String
Property Value
The event source identifier.
Remarks
In standard usage, you don't need to specify a GUID when defining an event source or referring to it, because a GUID is implicitly derived from the name of the event source class. Explicitly defining a GUID is discouraged, except when upgrading existing ETW providers to using event sources.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.