SoapServices.XmlNsForClrTypeWithNsAndAssembly プロパティ

定義

共通言語ランタイム名前空間とアセンブリの両方を持つ共通言語ランタイム クラスの XML エンコーディングに使用する、既定の XML 名前空間プレフィックスを取得します。

public:
 static property System::String ^ XmlNsForClrTypeWithNsAndAssembly { System::String ^ get(); };
public static string XmlNsForClrTypeWithNsAndAssembly { get; }
static member XmlNsForClrTypeWithNsAndAssembly : string
Public Shared ReadOnly Property XmlNsForClrTypeWithNsAndAssembly As String

プロパティ値

共通言語ランタイム名前空間とアセンブリの両方を持つ共通言語ランタイム クラスの XML エンコーディングに使用する、既定の XML 名前空間プレフィックス。

例外

直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。

次のコード例は、このプロパティの使用方法を示しています。 このコード例は、SoapServices クラスのために提供されている大規模な例の一部です。

// Print the XML namespace for the CLR types
// that have both an assembly and a common language runtime
// namespace.
Console::WriteLine( L"The XML namespace for the CLR types "
L"that have both an assembly and a namespace, is {0}.",
   SoapServices::XmlNsForClrTypeWithNsAndAssembly );
// Print the XML namespace for the CLR types 
// that have both an assembly and a common language runtime 
// namespace.
Console.WriteLine(
    "The XML namespace for the CLR types " +
    "that have both an assembly and a namespace, is {0}.",
    SoapServices.XmlNsForClrTypeWithNsAndAssembly);

注釈

WSDL および SOAP プロトコルは、共通言語ランタイム クラスを XML 名前空間にエンコードします。 現在のプロパティは、XML 名前空間の形式を指定します。 共通言語ランタイム クラスにアセンブリと共通言語ランタイム名前空間がある場合、現在のプロパティは使用される既定の XML 名前空間を返します。

適用対象