ManagementLockClient Constructors

Definition

Overloads

ManagementLockClient(DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(HttpClient, Boolean)

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(Uri, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

ManagementLockClient(DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
protected ManagementLockClient(params System.Net.Http.DelegatingHandler[] handlers);

Parameters

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
protected ManagementLockClient(Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);

Parameters

baseUri
Uri

Optional. The base URI of the service.

rootHandler
HttpClientHandler

Optional. The http client handler used to handle http transport.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
public ManagementLockClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);

Parameters

baseUri
Uri

Optional. The base URI of the service.

credentials
ServiceClientCredentials

Required. Credentials needed for the client to connect to Azure.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
public ManagementLockClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);

Parameters

credentials
ServiceClientCredentials

Required. Credentials needed for the client to connect to Azure.

rootHandler
HttpClientHandler

Optional. The http client handler used to handle http transport.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the ManagementLockClient class.

C#
public ManagementLockClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);

Parameters

credentials
ServiceClientCredentials

Required. Credentials needed for the client to connect to Azure.

httpClient
HttpClient

HttpClient to be used

disposeHttpClient
Boolean

True: will dispose the provided httpClient on calling ManagementLockClient.Dispose(). False: will not dispose provided httpClient

Exceptions

Thrown when a required parameter is null

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
public ManagementLockClient(Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);

Parameters

baseUri
Uri

Optional. The base URI of the service.

credentials
ServiceClientCredentials

Required. Credentials needed for the client to connect to Azure.

rootHandler
HttpClientHandler

Optional. The http client handler used to handle http transport.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
protected ManagementLockClient(System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);

Parameters

rootHandler
HttpClientHandler

Optional. The http client handler used to handle http transport.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(HttpClient, Boolean)

Initializes a new instance of the ManagementLockClient class.

C#
protected ManagementLockClient(System.Net.Http.HttpClient httpClient, bool disposeHttpClient);

Parameters

httpClient
HttpClient

HttpClient to be used

disposeHttpClient
Boolean

True: will dispose the provided httpClient on calling ManagementLockClient.Dispose(). False: will not dispose provided httpClient

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
public ManagementLockClient(Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);

Parameters

credentials
ServiceClientCredentials

Required. Credentials needed for the client to connect to Azure.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy

ManagementLockClient(Uri, DelegatingHandler[])

Initializes a new instance of the ManagementLockClient class.

C#
protected ManagementLockClient(Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);

Parameters

baseUri
Uri

Optional. The base URI of the service.

handlers
DelegatingHandler[]

Optional. The delegating handlers to add to the http client pipeline.

Exceptions

Thrown when a required parameter is null

Applies to

Azure SDK for .NET Legacy
Product Versions
Azure SDK for .NET Legacy