CloudMediaContext Constructor (Uri, String, String, String, String)
Initializes a new instance of the CloudMediaContext class.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.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 CloudMediaContext(apiServer, _
accountName, accountKey, scope, acsBaseAddress)
public CloudMediaContext(
Uri apiServer,
string accountName,
string accountKey,
string scope,
string acsBaseAddress
)
public:
CloudMediaContext(
Uri^ apiServer,
String^ accountName,
String^ accountKey,
String^ scope,
String^ acsBaseAddress
)
new :
apiServer:Uri *
accountName:string *
accountKey:string *
scope:string *
acsBaseAddress:string -> CloudMediaContext
public function CloudMediaContext(
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.