C# Класс Microsoft.WindowsAzure.MediaServices.Client.ContentKeyCollection

Represents a collection of IContentKey.
Наследование: ContentKeyBaseCollection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( System.Guid keyId, byte contentKey, string name ) : IContentKey

Creates a content key with the specified key identifier and value.

Create ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : IContentKey

Creates a content key with the specified key identifier and value.

CreateAsync ( System.Guid keyId, byte contentKey, string name ) : Task

Asynchronously creates a content key with the specified key identifier and value.

CreateAsync ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : Task

Asynchronously creates a content key with the specifies key identifier and value.

Приватные методы

Метод Описание
ContentKeyCollection ( MediaContextBase cloudMediaContext ) : System

Initializes a new instance of the ContentKeyCollection class.

Описание методов

Create() публичный Метод

Creates a content key with the specified key identifier and value.
public Create ( System.Guid keyId, byte contentKey, string name ) : IContentKey
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
Результат IContentKey

Create() публичный Метод

Creates a content key with the specified key identifier and value.
public Create ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : IContentKey
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
contentKeyType ContentKeyType Type of content key to create.
Результат IContentKey

CreateAsync() публичный Метод

Asynchronously creates a content key with the specified key identifier and value.
public CreateAsync ( System.Guid keyId, byte contentKey, string name ) : Task
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
Результат Task

CreateAsync() публичный Метод

Asynchronously creates a content key with the specifies key identifier and value.
public CreateAsync ( System.Guid keyId, byte contentKey, string name, ContentKeyType contentKeyType ) : Task
keyId System.Guid The key identifier.
contentKey byte The value of the content key.
name string A friendly name for the content key.
contentKeyType ContentKeyType Type of content key to create.
Результат Task