語言

IDataServiceHost.ResponseLocation 屬性

定義

取得或設定服務地點。

public:
 property System::String ^ ResponseLocation { System::String ^ get(); void set(System::String ^ value); };
public string ResponseLocation { get; set; }
member this.ResponseLocation : string with get, set
Public Property ResponseLocation As String

屬性值

包含服務位置的字串。

範例

以下 URI 包含服務在子字串 http://myhost/myservice.svc中的位置。

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

備註

此性質從不回傳 null 或 string.Empty。

適用於