Udostępnij za pośrednictwem


UrlRewriteActionParameters Class

Definition

Defines the parameters for the url rewrite action.

public class UrlRewriteActionParameters
type UrlRewriteActionParameters = class
Public Class UrlRewriteActionParameters
Inheritance
UrlRewriteActionParameters

Constructors

UrlRewriteActionParameters()

Initializes a new instance of the UrlRewriteActionParameters class.

UrlRewriteActionParameters(String, String, Nullable<Boolean>)

Initializes a new instance of the UrlRewriteActionParameters class.

Properties

Destination

Gets or sets define the relative URL to which the above requests will be rewritten by.

Odatatype
PreserveUnmatchedPath

Gets or sets whether to preserve unmatched path. Default value is true.

SourcePattern

Gets or sets define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.

Methods

Validate()

Validate the object.

Applies to