次の方法で共有


SoapServices.IsSoapActionValidForMethodBase メソッド

指定した SOAPAction が特定の MethodBase で許容されるかどうかを確認します。

Public Shared Function IsSoapActionValidForMethodBase( _
   ByVal soapAction As String, _   ByVal mb As MethodBase _) As Boolean
[C#]
public static bool IsSoapActionValidForMethodBase(stringsoapAction,MethodBasemb);
[C++]
public: static bool IsSoapActionValidForMethodBase(String* soapAction,MethodBase* mb);
[JScript]
public static function IsSoapActionValidForMethodBase(
   soapAction : String,mb : MethodBase) : Boolean;

パラメータ

  • soapAction
    特定の MethodBase で検証する SOAPAction。
  • mb
    指定した SOAPAction の検証に使用する MethodBase

戻り値

指定した SOAPAction が特定の MethodBase で許容される場合は true 。それ以外の場合は false

例外

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

必要条件

プラットフォーム: 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 名前空間