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.

Применяется к