RewriteRuleCustomResponseAction Class

Summary

Action to do a custom response
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IRewriteAction"] click Interface0 "/api/Cake.IIS/IRewriteAction" Type["RewriteRuleCustomResponseAction"] class Type type-node

Syntax

public class RewriteRuleCustomResponseAction : IRewriteAction

Constructors

Properties

Name Value Summary
StatusCode int
The Custom Response status code
StatusDescription string
The Custom Response description
StatusReason string
The Custom Response Reason header
SubStatusCode Nullable<int>
The Custom Response substatus code

Methods

Name Value Summary
FillXmlConfig(ConfigurationElement) void
Method to fill the XML configirations

Extension Methods

Name Value Summary
Dump<RewriteRuleCustomResponseAction>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<RewriteRuleCustomResponseAction>(RewriteRuleCustomResponseAction[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<RewriteRuleCustomResponseAction>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<RewriteRuleCustomResponseAction>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<RewriteRuleCustomResponseAction>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<RewriteRuleCustomResponseAction>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin