ICloudTask.AddResourceFile Method
Adds a ResourceFile to the current unbound Task object. Can only be called before the parent Job.Commit().
Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Usage
'Usage
Dim instance As ICloudTask
Dim newResourceFile As IResourceFile
instance.AddResourceFile(newResourceFile)
Syntax
'Declaration
Sub AddResourceFile ( _
newResourceFile As IResourceFile _
)
void AddResourceFile (
IResourceFile newResourceFile
)
void AddResourceFile (
IResourceFile^ newResourceFile
)
void AddResourceFile (
IResourceFile newResourceFile
)
function AddResourceFile (
newResourceFile : IResourceFile
)
Parameters
- newFile
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
ICloudTask Interface
ICloudTask Members
Microsoft.Azure.Batch Namespace