OpenAsyncContext(AsyncCallId, ref LogMemberInfo)
Gets an AsyncMethodLoggingContext for a given async method.
Declaration
public AsyncMethodLoggingContext OpenAsyncContext(AsyncCallId asyncCallId, ref LogMemberInfo logMemberInfo)Parameters
| Type | Name | Description |
|---|---|---|
| AsyncCallId | asyncCallId | The Task associated to the async method being logged, or |
| LogMemberInfo | logMemberInfo | A reference to a LogMemberInfo describing the method being logged. |
Returns
| Type | Description |
|---|---|
| AsyncMethodLoggingContext | An AsyncMethodLoggingContext for |