AssetCollection.Create Method (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 Overrides Function Create ( _
assetName As String, _
options As AssetCreationOptions _
) As IAsset
'Usage
Dim instance As AssetCollection
Dim assetName As String
Dim options As AssetCreationOptions
Dim returnValue As IAsset
returnValue = instance.Create(assetName, _
options)
public override IAsset Create(
string assetName,
AssetCreationOptions options
)
public:
virtual IAsset^ Create(
String^ assetName,
AssetCreationOptions options
) override
abstract Create :
assetName:string *
options:AssetCreationOptions -> IAsset
override Create :
assetName:string *
options:AssetCreationOptions -> IAsset
public override function Create(
assetName : String,
options : AssetCreationOptions
) : IAsset
Parameters
- assetName
Type: System.String
The asset name.
- options
Type: Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions
AnAssetCreationOptions value which will be associated with created asset.
Return Value
Type: Microsoft.WindowsAzure.MediaServices.Client.IAsset
The IAsset, which is the created asset.