EventSource.GetGuid(Type) Method
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 the unique identifier for this implementation of the event source.
public:
static Guid GetGuid(Type ^ eventSourceType);
public static Guid GetGuid (Type eventSourceType);
static member GetGuid : Type -> Guid
Public Shared Function GetGuid (eventSourceType As Type) As Guid
Parameters
- eventSourceType
- Type
The type of the event source.
Returns
A unique identifier for this event source type.
Remarks
If the name of the EventSource that was passed to the constructor isn't specified as an EventSourceAttribute, this method can return a different GUID to the one returned by the Guid property.
In such cases, the GUID that is used to register the EventSource is the one returned by Guid property. ]
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για