CloudMediaContextLive Constructor (Uri, String, String, 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 Services account name and key, the URI in which the tokens issued by Azure Control Services are valid, and the Access Control Service endpoint.
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, _
scope As String, _
acsBaseAddress As String _
)
'Usage
Dim apiServer As Uri
Dim accountName As String
Dim accountKey As String
Dim scope As String
Dim acsBaseAddress As String
Dim instance As New CloudMediaContextLive(apiServer, _
accountName, accountKey, scope, acsBaseAddress)
public CloudMediaContextLive(
Uri apiServer,
string accountName,
string accountKey,
string scope,
string acsBaseAddress
)
public:
CloudMediaContextLive(
Uri^ apiServer,
String^ accountName,
String^ accountKey,
String^ scope,
String^ acsBaseAddress
)
new :
apiServer:Uri *
accountName:string *
accountKey:string *
scope:string *
acsBaseAddress:string -> CloudMediaContextLive
public function CloudMediaContextLive(
apiServer : Uri,
accountName : String,
accountKey : String,
scope : String,
acsBaseAddress : 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.
- scope
Type: System.String
The scope of authorization.
- acsBaseAddress
Type: System.String
The access control endpoint to authenticate against.