CloudMediaContextLive Constructor (Uri, String, String)
[This topic is pre-release documentation and is subject to change in future releases. Participation in the preview is limited to invitees only. For more information, see the Release Notes.]
Initializes a new instance of the CloudMediaContext class specifying the API endpoint, the Windows Azure Media account name and key.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client.Live (in Microsoft.WindowsAzure.MediaServices.Client.Live.dll)
Syntax
'Declaration
Public Sub New ( _
apiServer As Uri, _
accountName As String, _
accountKey As String _
)
'Usage
Dim apiServer As Uri
Dim accountName As String
Dim accountKey As String
Dim instance As New CloudMediaContextLive(apiServer, _
accountName, accountKey)
public CloudMediaContextLive(
Uri apiServer,
string accountName,
string accountKey
)
public:
CloudMediaContextLive(
Uri^ apiServer,
String^ accountName,
String^ accountKey
)
new :
apiServer:Uri *
accountName:string *
accountKey:string -> CloudMediaContextLive
public function CloudMediaContextLive(
apiServer : Uri,
accountName : String,
accountKey : String
)
Parameters
- apiServer
Type: System.Uri
A Uri representing a the API endpoint.
- accountName
Type: System.String
The Microsoft WindowsAzure Media Services account name to authenticate with.
- accountKey
Type: System.String
The Microsoft WindowsAzure Media Services account key to authenticate with.