IWorkItemManager.DisableWorkItemAsync Method

An asynchronous request to disable have the named WorkItem.

Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)

Usage

'Usage
Dim instance As IWorkItemManager
Dim workItemName As String
Dim context As OperationContext
Dim additionalBehaviors As IEnumerable(Of BatchClientBehavior)
Dim returnValue As Task

returnValue = instance.DisableWorkItemAsync(workItemName, context, additionalBehaviors)

Syntax

'Declaration
Function DisableWorkItemAsync ( _
    workItemName As String, _
    <OptionalAttribute> Optional context As OperationContext = Nothing, _
    <OptionalAttribute> Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing _
) As Task
Task DisableWorkItemAsync (
    string workItemName,
    [OptionalAttribute] OperationContext context,
    [OptionalAttribute] IEnumerable<BatchClientBehavior> additionalBehaviors
)
Task^ DisableWorkItemAsync (
    String^ workItemName, 
    [OptionalAttribute] OperationContext^ context, 
    [OptionalAttribute] IEnumerable<BatchClientBehavior^>^ additionalBehaviors
)
Task DisableWorkItemAsync (
    String workItemName, 
    /** @attribute OptionalAttribute() */ OperationContext context, 
    /** @attribute OptionalAttribute() */ IEnumerable<BatchClientBehavior> additionalBehaviors
)
function DisableWorkItemAsync (
    workItemName : String, 
    context : OperationContext, 
    additionalBehaviors : IEnumerable<BatchClientBehavior>
) : Task

Parameters

  • WorkItemName
  • context

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IWorkItemManager Interface IWorkItemManager Members
Microsoft.Azure.Batch Namespace