System.ClientModel.ClientResult
Represents the result of a cloud service operation.
Creates a new instance of ClientResult from a service
response.
Creates a new instance of ClientResult<T> that holds the
provided model value, if any, and the PipelineResponse
received from the service. This method is used to create a return value
for a service method representing a service operation that may or may not
contain a payload. Callers of the client's service method must check
whether Value is null to determine whether
the service provided a value in its response. Nullable annotations
indicate to the end-user the need to check whether
Value is null.
Creates a new instance of ClientResult that holds the
PipelineResponse received from the service.
Creates a new instance of ClientResult<T> that holds the
provided model value and PipelineResponse received from
the service.
Gets the PipelineResponse received from the service.