SoapMessage.Url 属性

定义

当在派生类中重写时,获取 XML Web services 的基 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 services 的基 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期间访问 属性。

适用于