WildcardRedirectElement Class

Specifies a destination to which certain requests are redirected.

Syntax

class WildcardRedirectElement : CollectionElement  

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the WildcardRedirectElement class.

Name Description
Destination A read/write string value that contains the file name, directory path, or URL to which the user is redirected.
Wildcard A required read-only string value that contains the file name, directory path, or URL from which the user is redirected. The key property.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are exposed as members of the WildcardRedirects property of the HttpRedirectSection class.

Inheritance Hierarchy

CollectionElement

WildcardRedirectElement

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

CollectionElement Class
HttpRedirectSection Class