Delen via


ContentKeyBaseCollection.CreateAsync Method

Definition

Overloads

CreateAsync(Guid, Byte[])
CreateAsync(Guid, Byte[], String)
CreateAsync(Guid, Byte[], String, ContentKeyType)
CreateAsync(Guid, Byte[], String, ContentKeyType, IEnumerable<String>)

CreateAsync(Guid, Byte[])

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey> CreateAsync (Guid keyId, byte[] contentKey);
member this.CreateAsync : Guid * byte[] -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey>
Public Function CreateAsync (keyId As Guid, contentKey As Byte()) As Task(Of IContentKey)

Parameters

keyId
Guid
contentKey
Byte[]

Returns

Applies to

CreateAsync(Guid, Byte[], String)

public abstract System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey> CreateAsync (Guid keyId, byte[] contentKey, string name);
abstract member CreateAsync : Guid * byte[] * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey>
Public MustOverride Function CreateAsync (keyId As Guid, contentKey As Byte(), name As String) As Task(Of IContentKey)

Parameters

keyId
Guid
contentKey
Byte[]
name
String

Returns

Applies to

CreateAsync(Guid, Byte[], String, ContentKeyType)

public abstract System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey> CreateAsync (Guid keyId, byte[] contentKey, string name, Microsoft.WindowsAzure.MediaServices.Client.ContentKeyType contentKeyType);
abstract member CreateAsync : Guid * byte[] * string * Microsoft.WindowsAzure.MediaServices.Client.ContentKeyType -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey>
Public MustOverride Function CreateAsync (keyId As Guid, contentKey As Byte(), name As String, contentKeyType As ContentKeyType) As Task(Of IContentKey)

Parameters

keyId
Guid
contentKey
Byte[]
name
String
contentKeyType
ContentKeyType

Returns

Applies to

CreateAsync(Guid, Byte[], String, ContentKeyType, IEnumerable<String>)

public abstract System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey> CreateAsync (Guid keyId, byte[] contentKey, string name, Microsoft.WindowsAzure.MediaServices.Client.ContentKeyType contentKeyType, System.Collections.Generic.IEnumerable<string> trackIdentifiers);
abstract member CreateAsync : Guid * byte[] * string * Microsoft.WindowsAzure.MediaServices.Client.ContentKeyType * seq<string> -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IContentKey>
Public MustOverride Function CreateAsync (keyId As Guid, contentKey As Byte(), name As String, contentKeyType As ContentKeyType, trackIdentifiers As IEnumerable(Of String)) As Task(Of IContentKey)

Parameters

keyId
Guid
contentKey
Byte[]
name
String
contentKeyType
ContentKeyType
trackIdentifiers
IEnumerable<String>

Returns

Applies to