次の方法で共有


SoapBinding.Namespace フィールド

SoapBinding クラスの XML 名前空間で使用する URI を取得します。このフィールドは定数です。

Public Const Namespace As String
[C#]
public const string Namespace;
[C++]
public: const String* Namespace;
[JScript]
public var Namespace : String;

解説

このフィールド値は "https://schemas.xmlsoap.org/wsdl/soap/" です。

使用例

 
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = "https://schemas.xmlsoap.org/soap/http"
mySoapBinding.Style = SoapBindingStyle.Document
' Get the URI for XML namespace of the SoapBinding class.
Dim myNameSpace As String = SoapBinding.Namespace
Console.WriteLine("The URI of the XML Namespace is :" + myNameSpace)

[C#] 
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "https://schemas.xmlsoap.org/soap/http";
mySoapBinding.Style = SoapBindingStyle.Document;
// Get the URI for XML namespace of the SoapBinding class.
String myNameSpace = SoapBinding.Namespace;
Console.WriteLine("The URI of the XML Namespace is :"+myNameSpace);

[C++] 
SoapBinding* mySoapBinding = new SoapBinding();
mySoapBinding->Transport = S"https://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;
// Get the URI for XML namespace of the SoapBinding class.
String* myNameSpace = SoapBinding::Namespace;
Console::WriteLine(S"The URI of the XML Namespace is :{0}", myNameSpace);

[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

SoapBinding クラス | SoapBinding メンバ | System.Web.Services.Description 名前空間