Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core Inheritance: System.ExceptionSyntax
Summary
Use this exception when you want to return a specific status codeConstructors
.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