Open sandboxFocus

Method SuspendActivity

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 LogActivityOptions, in CallerInfo).

CallerInfo callerInfo

Information about the caller source code.