RedirectionType.Resource Property

Definition

Gets a RedirectionType that represents the resource redirection type.

public:
 static property System::ServiceModel::Channels::RedirectionType ^ Resource { System::ServiceModel::Channels::RedirectionType ^ get(); };
public static System.ServiceModel.Channels.RedirectionType Resource { get; }
static member Resource : System.ServiceModel.Channels.RedirectionType
Public Shared ReadOnly Property Resource As RedirectionType

Property Value

The resource redirection type.

Remarks

A resource redirection indicates the requested resource has been relocated to the specified location(s). If one location is specified, then this maps to HTTP status code 301 (Moved Permanently) or 307 (Temporary Redirect), depending on the RedirectionDuration selected. If multiple locations are provided, then this maps to the 300 (Multiple Choices) HTTP status code. This is the default value for RedirectionType.

Applies to