Share via


IDataServiceHost.ResponseLocation Proprietà

Definizione

Ottiene o imposta il percorso del servizio.

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

Valore della proprietà

Stringa contenente il percorso del servizio.

Esempio

L'URI seguente contiene la posizione del servizio nella sottostringa http://myhost/myservice.svc.

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

Commenti

Questa proprietà non restituisce mai null o string.Empty.

Si applica a