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
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.