Constructor DiagnosticEventContext
DiagnosticEventContext(AsyncOperationHandle, ResourceManager.DiagnosticEventType, Int32, String, Object)
Construct a new DiagnosticEventContext.
Declaration
public DiagnosticEventContext(AsyncOperationHandle op, ResourceManager.DiagnosticEventType type, int eventValue = 0, string error = null, object context = null)
Parameters
Type | Name | Description |
---|---|---|
AsyncOperationHandle | op | Operation handle for the event. |
ResourceManager.DiagnosticEventType | type | The type of diagnostic event. |
Int32 | eventValue | The value for this event. |
String | error | Any error that occured. |
Object | context | Additional context data. |