JobBaseCollection.Create Method (String, IJobTemplate, IEnumerable<IAsset>)
Creates a new job.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Function Create ( _
name As String, _
jobTemplate As IJobTemplate, _
inputMediaAssets As IEnumerable(Of IAsset) _
) As IJob
'Usage
Dim instance As JobBaseCollection
Dim name As String
Dim jobTemplate As IJobTemplate
Dim inputMediaAssets As IEnumerable(Of IAsset)
Dim returnValue As IJob
returnValue = instance.Create(name, jobTemplate, _
inputMediaAssets)
public IJob Create(
string name,
IJobTemplate jobTemplate,
IEnumerable<IAsset> inputMediaAssets
)
public:
IJob^ Create(
String^ name,
IJobTemplate^ jobTemplate,
IEnumerable<IAsset^>^ inputMediaAssets
)
member Create :
name:string *
jobTemplate:IJobTemplate *
inputMediaAssets:IEnumerable<IAsset> -> IJob
public function Create(
name : String,
jobTemplate : IJobTemplate,
inputMediaAssets : IEnumerable<IAsset>
) : IJob
Parameters
- name
Type: System.String
The name.
- jobTemplate
Type: Microsoft.WindowsAzure.MediaServices.Client.IJobTemplate
The job template.
- inputMediaAssets
Type: System.Collections.Generic.IEnumerable<IAsset>
The input media assets.
Return Value
Type: Microsoft.WindowsAzure.MediaServices.Client.IJob
The new job.