System.ClientModel Namespace

Classes

ApiKeyCredential

A credential used to authenticate to a service that accepts an API key. This type provides the ability to update the key's value without creating a new client.

AsyncCollectionResult<T>

Represents a collection of values returned from a cloud service operation. The collection values may be delivered over one or more service responses.

AsyncPageCollection<T>

An asynchronous collection of page results returned by a cloud service. Cloud services use pagination to return a collection of items over multiple responses. Each response from the service returns a page of items in the collection, as well as the information needed to obtain the next page of items, until all the items in the requested collection have been returned. To enumerate the items in the collection, instead of the pages in the collection, call GetAllValuesAsync(CancellationToken). To get the current collection page, call GetCurrentPageAsync().

BinaryContent

Represents binary content that can be sent to a cloud service as part of a PipelineRequest.

ClientResult

Represents the result of a cloud service operation.

ClientResult<T>

Represents the result of a cloud service operation, and provides a strongly-typed representation of the service response value.

ClientResultException

The exception that is thrown when the processing of a client request failed.

CollectionResult<T>

Represents a collection of values returned from a cloud service operation. The collection values may be delivered over one or more service responses.

ContinuationToken

A token that can be passed to a client method to request or rehydrate a subclient from the state represented by the token.

PageCollection<T>

A collection of page results returned by a cloud service. Cloud services use pagination to return a collection of items over multiple responses. Each response from the service returns a page of items in the collection, as well as the information needed to obtain the next page of items, until all the items in the requested collection have been returned. To enumerate the items in the collection, instead of the pages in the collection, call GetAllValues(). To get the current collection page, call GetCurrentPage().

PageResult<T>

A page of values returned from a cloud service in response to a request for a collection from a paginated endpoint. When used with PageCollection<T> or AsyncPageCollection<T>, returns a subset of a complete collection of values returned from a service. Each PageResult<T> represents the values in a single service response.