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.
- dataServiceAdapter
Type: Microsoft.WindowsAzure.MediaServices.Client.OAuth.OAuthDataServiceAdapter
The data service adapter.
- serviceVersionAdapter
Type: Microsoft.WindowsAzure.MediaServices.Client.Versioning.ServiceVersionAdapter
The service version adapter.
- mediaContext
Type: Microsoft.WindowsAzure.MediaServices.Client.MediaContextBase
The CloudMediaContext instance.
See Also
Reference
AzureMediaServicesClassFactory Class