IDataServiceHost.ResponseLocation Propiedad
Obtiene o establece la ubicación del servicio.
Espacio de nombres: System.Data.Services
Ensamblado: Microsoft.Data.Services (en Microsoft.Data.Services.dll)
Sintaxis
'Declaración
Property ResponseLocation As String
Get
Set
'Uso
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)
Valor de la propiedad
Tipo: System.String
Cadena que contiene la ubicación del servicio.
Comentarios
Esta propiedad nunca devuelve NULL o string.Empty.
Ejemplos
El siguiente URI contiene la ubicación del servicio en la subcadena http://myhost/myservice.svc.
http://myhost/myservice.svc/Customers, the response location would be http://myhost/myservice.svc