public static void Execute(IScriptExecutionEnvironment environment, string messageQueuePath) { PurgeMessageQueueTask task = new PurgeMessageQueueTask(messageQueuePath); task.Execute(environment); }
public static void Execute(ITaskContext context, string messageQueuePath) { PurgeMessageQueueTask task = new PurgeMessageQueueTask(messageQueuePath); task.Execute(context); }