ClientResult.FromValue<T>(T, PipelineResponse) Method
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.
Creates a new instance of ClientResult<T> that holds the provided model value and PipelineResponse received from the service.
public static System.ClientModel.ClientResult<T> FromValue<T> (T value, System.ClientModel.Primitives.PipelineResponse response);
static member FromValue : 'T * System.ClientModel.Primitives.PipelineResponse -> System.ClientModel.ClientResult<'T>
Public Shared Function FromValue(Of T) (value As T, response As PipelineResponse) As ClientResult(Of T)
Type Parameters
- T
The type of the value.
Parameters
- value
- T
The strongly-typed representation of the service response payload value.
- response
- PipelineResponse
The response received from the service.
Returns
A new instance of ClientResult<T> holding the
provided value
and response
.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET