特定の MethodBase で指定したメソッドのリモート呼び出し中に使用する XML 名前空間を取得します。
Public Shared Function GetXmlNamespaceForMethodCall( _
ByVal mb As MethodBase _) As String
[C#]
public static string GetXmlNamespaceForMethodCall(MethodBasemb);
[C++]
public: static String* GetXmlNamespaceForMethodCall(MethodBase* mb);
[JScript]
public static function GetXmlNamespaceForMethodCall(
mb : MethodBase) : String;
パラメータ
- mb
XML 名前空間を要求したメソッドの MethodBase 。
戻り値
指定したメソッドのリモート呼び出し中に使用する XML 名前空間。
例外
例外の種類 | 条件 |
---|---|
SecurityException | 直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。 |
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- SecurityPermission (インフラストラクチャ コードを操作するために必要なアクセス許可) SecurityPermissionFlag.Infrastructure (関連する列挙体)
参照
SoapServices クラス | SoapServices メンバ | System.Runtime.Remoting 名前空間