Share via


RedirectionType.Resource プロパティ

定義

リソース リダイレクト型を表す RedirectionType を取得します。

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

プロパティ値

リソース リダイレクト型。

注釈

リソース リダイレクトとは、要求されたリソースが指定した場所に再配置されていることを意味します。 場所が 1 つ指定されている場合は、RedirectionDuration の選択内容に応じて、HTTP 状態コード 301 (完全な移動) または 307 (一時的な移動) にマッピングされます。 複数の場所が指定されている場合は、300 (複数選択) という HTTP 状態コードにマッピングされます。 これは、RedirectionType の既定値です。

適用対象