次の方法で共有


SoapServices.GetSoapActionFromMethodBase メソッド

特定の MethodBase で指定したメソッドと関連付けられた SOAPAction 値を返します。

Public Shared Function GetSoapActionFromMethodBase( _
   ByVal mb As MethodBase _) As String
[C#]
public static string GetSoapActionFromMethodBase(MethodBasemb);
[C++]
public: static String* GetSoapActionFromMethodBase(MethodBase* mb);
[JScript]
public static function GetSoapActionFromMethodBase(
   mb : MethodBase) : String;

パラメータ

  • mb
    SOAPAction を要求したメソッドを格納している MethodBase

戻り値

特定の MethodBase で指定したメソッドと関連付けられた SOAPAction 値。

例外

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

解説

特定の MethodBase が SOAPAction 値で登録されていない場合、 GetSoapActionFromMethodBase メソッドは、自動的に MethodBase にキャッシュされた SOAPAction を返します。

必要条件

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

.NET Framework セキュリティ:

参照

SoapServices クラス | SoapServices メンバ | System.Runtime.Remoting 名前空間