Share via


CloudMediaContext Constructor (Uri, 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 _
)
'Usage
Dim apiServer As Uri 
Dim accountName As String 
Dim accountKey As String 

Dim instance As New CloudMediaContext(apiServer, _
    accountName, accountKey)
public CloudMediaContext(
    Uri apiServer,
    string accountName,
    string accountKey
)
public:
CloudMediaContext(
    Uri^ apiServer, 
    String^ accountName, 
    String^ accountKey
)
new : 
        apiServer:Uri * 
        accountName:string * 
        accountKey:string -> CloudMediaContext
public function CloudMediaContext(
    apiServer : Uri, 
    accountName : String, 
    accountKey : String
)

Parameters

  • apiServer
    Type: System.Uri
    A Uri representing 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.

See Also

Reference

CloudMediaContext Class

CloudMediaContext Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace