Επεξεργασία

Κοινή χρήση μέσω


SoapMessage.Url Property

Definition

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

public:
 abstract property System::String ^ Url { System::String ^ get(); };
public abstract string Url { get; }
member this.Url : string
Public MustOverride ReadOnly Property Url As String

Property Value

The base URL of the XML Web service.

Examples

myStreamWriter->WriteLine(
   "The site where the XML Web service is available is:" );
myStreamWriter->WriteLine( "\t{0}", message->Url );
myStreamWriter.WriteLine(
   "The site where the XML Web service is available is:");
myStreamWriter.WriteLine("\t" + message.Url);
myStreamWriter.WriteLine( _
   "The site where the XML Web service is available is: ")
myStreamWriter.WriteLine(ControlChars.Tab & message.Url)

Remarks

The Url property can be accessed during any SoapMessageStage.

Applies to