共用方式為


ProvisioningServiceClientOptions.HttpClient Property

Definition

The HTTP client to use for all HTTP operations.

public System.Net.Http.HttpClient HttpClient { get; set; }
member this.HttpClient : System.Net.Http.HttpClient with get, set
Public Property HttpClient As HttpClient

Property Value

Remarks

If not provided, an HTTP client will be created for you based on the other settings provided.

If provided, all other HTTP-specific settings in ProvisioningServiceHttpSettings will be ignored and must be specified on the custom HttpClient instance.

Applies to