AssetBaseCollection.Create Method (String, String, AssetCreationOptions)
Creates an asset that does not contain any files and AssetState is Initialized.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public MustOverride Function Create ( _
assetName As String, _
storageAccountName As String, _
options As AssetCreationOptions _
) As IAsset
'Usage
Dim instance As AssetBaseCollection
Dim assetName As String
Dim storageAccountName As String
Dim options As AssetCreationOptions
Dim returnValue As IAsset
returnValue = instance.Create(assetName, _
storageAccountName, options)
public abstract IAsset Create(
string assetName,
string storageAccountName,
AssetCreationOptions options
)
public:
virtual IAsset^ Create(
String^ assetName,
String^ storageAccountName,
AssetCreationOptions options
) abstract
abstract Create :
assetName:string *
storageAccountName:string *
options:AssetCreationOptions -> IAsset
public abstract function Create(
assetName : String,
storageAccountName : String,
options : AssetCreationOptions
) : IAsset
Parameters
- assetName
Type: System.String
The asset name.
- storageAccountName
Type: System.String
The storage account name associated with the Asset.
- options
Type: Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions
An AssetCreationOptions enumeration value that will be associated with created asset.
Return Value
Type: Microsoft.WindowsAzure.MediaServices.Client.IAsset
Returns IAsset.