Dela via


ClientResult<T> Class

Definition

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

public class ClientResult<T> : System.ClientModel.ClientResult
type ClientResult<'T> = class
    inherit ClientResult
Public Class ClientResult(Of T)
Inherits ClientResult

Type Parameters

T

The type of the value returned in the service response.

Inheritance
ClientResult<T>

Constructors

ClientResult<T>(T, PipelineResponse)

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

Properties

Value

Gets the value received from the service.

Methods

GetRawResponse()

Gets the PipelineResponse received from the service.

(Inherited from ClientResult)
SetRawResponse(PipelineResponse)

Update the value returned from GetRawResponse().

(Inherited from ClientResult)

Operators

Implicit(ClientResult<T> to T)

Returns the value of this ClientResult<T> object.

Applies to