Dela via


ClientResult.FromResponse(PipelineResponse) Method

Definition

Creates a new instance of ClientResult that holds the PipelineResponse received from the service.

public static System.ClientModel.ClientResult FromResponse (System.ClientModel.Primitives.PipelineResponse response);
static member FromResponse : System.ClientModel.Primitives.PipelineResponse -> System.ClientModel.ClientResult
Public Shared Function FromResponse (response As PipelineResponse) As ClientResult

Parameters

response
PipelineResponse

The response received from the service.

Returns

A new instance of ClientResult<T> holding the provided response.

Applies to