WellKnownProtectedOperations.CreateRunTask Method

Definition

Creates a new ProtectedOperation that represents a RunTask operation.

public:
 static Microsoft::ServiceHub::Framework::Services::ProtectedOperation ^ CreateRunTask();
public static Microsoft.ServiceHub.Framework.Services.ProtectedOperation CreateRunTask ();
static member CreateRunTask : unit -> Microsoft.ServiceHub.Framework.Services.ProtectedOperation
Public Shared Function CreateRunTask () As ProtectedOperation

Returns

An instance of ProtectedOperation that may be passed to CheckAuthorizationAsync(ProtectedOperation, CancellationToken).

Applies to