Compartilhar via


ClientResult<T>(T, PipelineResponse) Constructor

Definition

Creates a new instance of ClientResult<T> that holds the provided model value and PipelineResponse received from the service.

protected internal ClientResult (T value, System.ClientModel.Primitives.PipelineResponse response);
new System.ClientModel.ClientResult<'T> : 'T * System.ClientModel.Primitives.PipelineResponse -> System.ClientModel.ClientResult<'T>
Protected Friend Sub New (value As T, response As PipelineResponse)

Parameters

value
T

The strongly-typed representation of the service response payload value.

response
PipelineResponse

The response received from the service.

Applies to