Share via


HttpError.GetPropertyValue<TValue>(String) Method

Definition

Gets a particular property value from this error instance.

public TValue GetPropertyValue<TValue> (string key);
member this.GetPropertyValue : string -> 'Value
Public Function GetPropertyValue(Of TValue) (key As String) As TValue

Type Parameters

TValue

The type of the property.

Parameters

key
String

The name of the error property.

Returns

TValue

The value of the error property.

Applies to