共用方式為


ProgramBaseCollection.CreateAsync Method

Definition

Overloads

CreateAsync(ProgramCreationOptions)
CreateAsync(String, TimeSpan, String)

CreateAsync(ProgramCreationOptions)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IProgram> CreateAsync (Microsoft.WindowsAzure.MediaServices.Client.ProgramCreationOptions options);
member this.CreateAsync : Microsoft.WindowsAzure.MediaServices.Client.ProgramCreationOptions -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IProgram>
Public Function CreateAsync (options As ProgramCreationOptions) As Task(Of IProgram)

Parameters

Returns

Applies to

CreateAsync(String, TimeSpan, String)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IProgram> CreateAsync (string name, TimeSpan archiveWindowLength, string assetId);
member this.CreateAsync : string * TimeSpan * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IProgram>
Public Function CreateAsync (name As String, archiveWindowLength As TimeSpan, assetId As String) As Task(Of IProgram)

Parameters

name
String
archiveWindowLength
TimeSpan
assetId
String

Returns

Applies to