SuspendActivity(ILoggingContext, in CallerInfo)
Suspends an asynchronous activity, which can then be resumed by the ResumeActivity(ILoggingContext, in CallerInfo) method.
Declaration
void SuspendActivity(ILoggingContext context, in CallerInfo callerInfo)
Parameters
Type | Name | Description |
---|---|---|
ILoggingContext | context | A context representing an asynchronous activity, created by OpenActivity(in OpenActivityOptions, in CallerInfo, bool). |
CallerInfo | callerInfo | Information about the caller code. |