Bagikan melalui


IDataServiceHost.ResponseLocation Properti

Definisi

Mendapatkan atau mengatur lokasi layanan.

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

Nilai Properti

String yang berisi lokasi layanan.

Contoh

URI berikut berisi lokasi layanan di substring http://myhost/myservice.svc.

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

Keterangan

Properti ini tidak pernah mengembalikan null atau string.Empty.

Berlaku untuk