次の方法で共有


IDataServiceHost.ResponseLocation プロパティ

サービスの場所を取得または設定します。

名前空間:  System.Data.Services
アセンブリ:  Microsoft.Data.Services (Microsoft.Data.Services.dll)

構文

'宣言
Property ResponseLocation As String
    Get
    Set
'使用
Dim instance As IDataServiceHost
Dim value As String

value = instance.ResponseLocation

instance.ResponseLocation = value
string ResponseLocation { get; set; }
property String^ ResponseLocation {
    String^ get ();
    void set (String^ value);
}
abstract ResponseLocation : string with get, set
function get ResponseLocation () : String
function set ResponseLocation (value : String)

プロパティ値

型: System.String
サービスの場所を表す文字列。

説明

このプロパティから null や string.Empty が返されることはありません。

使用例

次の URI は、http://myhost/myservice.svc の部分がサービスの場所を表します。

http://myhost/myservice.svc/Customers, the response location would be http://myhost/myservice.svc

関連項目

参照

IDataServiceHost インターフェイス

System.Data.Services 名前空間