Show / Hide Table of Contents

Class NullableResponse<T>

Represents a result of Azure operation.

Inheritance
System.Object
NullableResponse<T>
Response<T>
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Core.dll
Syntax
public abstract class NullableResponse<T>
Type Parameters
T

The type of returned value.

Constructors

NullableResponse<T>()

Declaration
protected NullableResponse ();

Properties

HasValue

Gets a value indicating whether the current instance has a valid value of its underlying type.

Declaration
public abstract bool HasValue { get; }
Property Value
System.Boolean

Value

Gets the value returned by the service. Accessing this property will throw if HasValue is false.

Declaration
public abstract T Value { get; }
Property Value
T

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The object to compare with the current object.

Returns
System.Boolean

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A hash code for the current object.

GetRawResponse()

Returns the HTTP response returned by the service.

Declaration
public abstract Azure.Response GetRawResponse ();
Returns
Response

The HTTP response returned by the service.

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString ();
Returns
System.String

A string that represents the current object.

Back to top Azure SDK for .NET