你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ClientResult<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |