ChannelBaseCollection.CreateAsync Method (String, ChannelSize, ChannelSettings)
[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, _
size As ChannelSize, _
settings As ChannelSettings _
) As Task(Of IChannel)
'Usage
Dim instance As ChannelBaseCollection
Dim name As String
Dim size As ChannelSize
Dim settings As ChannelSettings
Dim returnValue As Task(Of IChannel)
returnValue = instance.CreateAsync(name, _
size, settings)
public Task<IChannel> CreateAsync(
string name,
ChannelSize size,
ChannelSettings settings
)
public:
Task<IChannel^>^ CreateAsync(
String^ name,
ChannelSize size,
ChannelSettings^ settings
)
member CreateAsync :
name:string *
size:ChannelSize *
settings:ChannelSettings -> Task<IChannel>
public function CreateAsync(
name : String,
size : ChannelSize,
settings : ChannelSettings
) : Task<IChannel>
Parameters
- name
Type: System.String
- settings
Type: Microsoft.WindowsAzure.MediaServices.Client.ChannelSettings
Return Value
Type: System.Threading.Tasks.Task<IChannel>