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