Constructor DiagnosticEventContext
DiagnosticEventContext(AsyncOperationHandle, DiagnosticEventType, int, 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. |
int | eventValue | The value for this event. |
string | error | Any error that occured. |
object | context | Additional context data. |