OriginBaseCollection.CreateAsync Method (String, Int32, OriginSettings)

[This topic is pre-release documentation and is subject to change in future releases. Participation in the preview is limited to invitees only. For more information, see the Release Notes.]

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client.Live (in Microsoft.WindowsAzure.MediaServices.Client.Live.dll)

Syntax

'Declaration
Public Function CreateAsync ( _
    name As String, _
    reservedUnits As Integer, _
    settings As OriginSettings _
) As Task(Of IOrigin)
'Usage
Dim instance As OriginBaseCollection 
Dim name As String 
Dim reservedUnits As Integer 
Dim settings As OriginSettings 
Dim returnValue As Task(Of IOrigin)

returnValue = instance.CreateAsync(name, _
    reservedUnits, settings)
public Task<IOrigin> CreateAsync(
    string name,
    int reservedUnits,
    OriginSettings settings
)
public:
Task<IOrigin^>^ CreateAsync(
    String^ name, 
    int reservedUnits, 
    OriginSettings^ settings
)
member CreateAsync : 
        name:string * 
        reservedUnits:int * 
        settings:OriginSettings -> Task<IOrigin> 
public function CreateAsync(
    name : String, 
    reservedUnits : int, 
    settings : OriginSettings
) : Task<IOrigin>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IOrigin>

See Also

Reference

OriginBaseCollection Class

CreateAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace