mscorlib(4.0.0.0) API with additions
EventSourceAttribute.cs
2 {
4  [AttributeUsage(AttributeTargets.Class)]
5  [__DynamicallyInvokable]
6  public sealed class EventSourceAttribute : Attribute
7  {
10  [__DynamicallyInvokable]
11  public string Name
12  {
13  [__DynamicallyInvokable]
14  get;
15  [__DynamicallyInvokable]
16  set;
17  }
18 
21  [__DynamicallyInvokable]
22  public string Guid
23  {
24  [__DynamicallyInvokable]
25  get;
26  [__DynamicallyInvokable]
27  set;
28  }
29 
32  [__DynamicallyInvokable]
33  public string LocalizationResources
34  {
35  [__DynamicallyInvokable]
36  get;
37  [__DynamicallyInvokable]
38  set;
39  }
40 
42  [__DynamicallyInvokable]
44  {
45  }
46  }
47 }
Allows the event tracing for Windows (ETW) name to be defined independently of the name of the event ...
Represents the base class for custom attributes.
Definition: Attribute.cs:15
EventSourceAttribute()
Initializes a new instance of the T:System.Diagnostics.Tracing.EventSourceAttribute class.
string LocalizationResources
Gets or sets the name of the localization resource file.
Represents a globally unique identifier (GUID).To browse the .NET Framework source code for this type...
Definition: Guid.cs:14
string Name
Gets or sets the name of the event source.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.