BuildIt.CognitiveServices.ContentModeratorReviewExtensions.WorkflowCreateOrUpdate C# (CSharp) Метод

WorkflowCreateOrUpdate() публичный статический Метод

Create a new workflow or update an existing one.
public static WorkflowCreateOrUpdate ( this operations, string team, string workflowname, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
team string /// Your Team name ///
workflowname string /// Provide a name for this workflow ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void
            public static void WorkflowCreateOrUpdate(this IContentModeratorReview operations, string team, string workflowname, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IContentModeratorReview)s).WorkflowCreateOrUpdateAsync(team, workflowname, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }