Exemple #1
0
 /// <summary>
 /// Send a new trigger into the workflow engine
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='tenantId'>
 /// The tenant within which the request should operate
 /// </param>
 /// <param name='body'>
 /// New trigger to be processed by the engine
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <RaiseTriggerHeaders> RaiseTriggerAsync(this IMarainWorkflowService operations, string tenantId, Trigger body, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.RaiseTriggerWithHttpMessagesAsync(tenantId, body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Headers);
     }
 }