CollectionResult<T> Constructor
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 CollectionResult<T>.
protected internal CollectionResult();
Protected Friend Sub New ()
Remarks
If no PipelineResponse is provided when the ClientResult instance is created, it is expected that a derived type will call System.ClientModel.ClientResult.SetRawResponse(System.ClientModel.Primitives.PipelineResponse) prior to a user calling GetRawResponse(). This constructor is indended for use by collection implementations that postpone sending a request until GetEnumerator() is called. Such implementations will typically be returned from client convenience methods so that callers of the methods don't need to dispose the return value.
Applies to
Azure SDK for .NET