Share via


AzureMediaServicesClassFactory Constructor (Uri, OAuthDataServiceAdapter, ServiceVersionAdapter, MediaContextBase)

Initializes a new instance of the AzureMediaServicesClassFactory class.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    azureMediaServicesEndpoint As Uri, _
    dataServiceAdapter As OAuthDataServiceAdapter, _
    serviceVersionAdapter As ServiceVersionAdapter, _
    mediaContext As MediaContextBase _
)
'Usage
Dim azureMediaServicesEndpoint As Uri 
Dim dataServiceAdapter As OAuthDataServiceAdapter 
Dim serviceVersionAdapter As ServiceVersionAdapter 
Dim mediaContext As MediaContextBase 

Dim instance As New AzureMediaServicesClassFactory(azureMediaServicesEndpoint, _
    dataServiceAdapter, serviceVersionAdapter, _
    mediaContext)
public AzureMediaServicesClassFactory(
    Uri azureMediaServicesEndpoint,
    OAuthDataServiceAdapter dataServiceAdapter,
    ServiceVersionAdapter serviceVersionAdapter,
    MediaContextBase mediaContext
)
public:
AzureMediaServicesClassFactory(
    Uri^ azureMediaServicesEndpoint, 
    OAuthDataServiceAdapter^ dataServiceAdapter, 
    ServiceVersionAdapter^ serviceVersionAdapter, 
    MediaContextBase^ mediaContext
)
new : 
        azureMediaServicesEndpoint:Uri * 
        dataServiceAdapter:OAuthDataServiceAdapter * 
        serviceVersionAdapter:ServiceVersionAdapter * 
        mediaContext:MediaContextBase -> AzureMediaServicesClassFactory
public function AzureMediaServicesClassFactory(
    azureMediaServicesEndpoint : Uri, 
    dataServiceAdapter : OAuthDataServiceAdapter, 
    serviceVersionAdapter : ServiceVersionAdapter, 
    mediaContext : MediaContextBase
)

Parameters

  • azureMediaServicesEndpoint
    Type: System.Uri
    The Windows Azure Media Services endpoint to use.

See Also

Reference

AzureMediaServicesClassFactory Class

AzureMediaServicesClassFactory Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace