Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core Inheritance: System.Exception

Syntax

Summary

Use this exception when you want to return a specific status code

Constructors

.ctor

Initializes a new instance of the StatusCodeException class.

Syntax

.ctor

Initializes a new instance of the StatusCodeException class.

Syntax

Parameters

.ctor

Initializes a new instance of the StatusCodeException class.

Syntax

Parameters

.ctor

Initializes a new instance of the StatusCodeException class.

Syntax

Parameters

.ctor

Initializes a new instance of the StatusCodeException class.

Syntax

Parameters

Properties

StatusCode

Syntax

Property Value

Type: System.Net.HttpStatusCode