StatusCodePolicy Members | Glimpse API Documentation |
The StatusCodePolicy type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | StatusCodePolicy |
Initializes a new instance of the StatusCodePolicy class with an empty white list.
|
![]() | StatusCodePolicy(IList Int32 ) |
Initializes a new instance of the StatusCodePolicy class with the provided statusCodeWhiteList.
|
Methods
Name | Description | |
---|---|---|
![]() | Configure |
Provides implementations an instance of Section to self populate any end user configuration options.
|
![]() | ![]() | (Inherited from ![]() |
![]() | Execute |
Executes the specified policy with the given context.
|
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Name | Description | |
---|---|---|
![]() | GetTypeOrNull |
Returns the value of GetType if value is not null.
(Defined by ObjectExtensions.) |
![]() | ToStringOrDefault |
Returns the value of ToString if value is not null.
(Defined by ObjectExtensions.) |
Properties
Name | Description | |
---|---|---|
![]() | ExecuteOn |
Gets the point in an Http request lifecycle that a policy should execute.
|
![]() | StatusCodeWhiteList |
Gets or sets the status code white list.
|
See Also