你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContentKeyBaseCollection.CreateAsync 方法

定义

重载

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)

参数

keyId
Guid
contentKey
Byte[]

返回

适用于

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)

参数

keyId
Guid
contentKey
Byte[]
name
String

返回

适用于

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)

参数

keyId
Guid
contentKey
Byte[]
name
String
contentKeyType
ContentKeyType

返回

适用于

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)

参数

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

返回

适用于