SoapMessage.Url Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, gets the base URL of the XML Web service.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public abstract string Url { get; }

Property Value

Type: System.String

The base URL of the XML Web service.

The Url property can be accessed during any SoapMessageStage.

myStreamWriter.WriteLine(
   "The site where the XML Web service is available is:");
myStreamWriter.WriteLine("\t" + message.Url);

.NET Framework
Available since 1.1
Return to top
Show: