共用方式為


SoapMessage.Url 屬性

定義

在衍生類別中覆寫時,取得 XML Web Service 的基礎 URL。

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

屬性值

XML Web Service 的基礎 URL。

範例

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)

備註

屬性 Url 可以在任何 SoapMessageStage 期間存取。

適用於