Share via


SchedulerClient Constructor (String, String, SubscriptionCloudCredentials, Uri, HttpClient)

Initializes a new instance of the SchedulerClient class.

Namespace: Microsoft.WindowsAzure.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)

Usage

'Usage
Dim cloudServiceName As String
Dim jobCollectionName As String
Dim credentials As SubscriptionCloudCredentials
Dim baseUri As Uri
Dim httpClient As HttpClient

Dim instance As New SchedulerClient(cloudServiceName, jobCollectionName, credentials, baseUri, httpClient)

Syntax

'Declaration
Public Sub New ( _
    cloudServiceName As String, _
    jobCollectionName As String, _
    credentials As SubscriptionCloudCredentials, _
    baseUri As Uri, _
    httpClient As HttpClient _
)
public SchedulerClient (
    string cloudServiceName,
    string jobCollectionName,
    SubscriptionCloudCredentials credentials,
    Uri baseUri,
    HttpClient httpClient
)
public:
SchedulerClient (
    String^ cloudServiceName, 
    String^ jobCollectionName, 
    SubscriptionCloudCredentials^ credentials, 
    Uri^ baseUri, 
    HttpClient^ httpClient
)
public SchedulerClient (
    String cloudServiceName, 
    String jobCollectionName, 
    SubscriptionCloudCredentials credentials, 
    Uri baseUri, 
    HttpClient httpClient
)
public function SchedulerClient (
    cloudServiceName : String, 
    jobCollectionName : String, 
    credentials : SubscriptionCloudCredentials, 
    baseUri : Uri, 
    httpClient : HttpClient
)

Parameters

  • cloudServiceName
    Required.
  • jobCollectionName
    Required.
  • credentials
    Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • baseUri
    Optional. Gets the URI used as the base for all cloud service requests.
  • httpClient
    The Http client

Remarks

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

SchedulerClient Class
SchedulerClient Members
Microsoft.WindowsAzure.Scheduler Namespace