LogicalMethodInfo.IsBeginMethod メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > LogicalMethodInfo.IsBeginMethod メソッドの意味・解説 

LogicalMethodInfo.IsBeginMethod メソッド

渡されメソッド非同期呼び出しBegin メソッド表しているかどうかを示す値を返します

名前空間: System.Web.Services.Protocols
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public Shared Function IsBeginMethod
 ( _
    methodInfo As MethodInfo _
) As Boolean
Dim methodInfo As MethodInfo
Dim returnValue As Boolean

returnValue = LogicalMethodInfo.IsBeginMethod(methodInfo)
public static bool IsBeginMethod
 (
    MethodInfo methodInfo
)
public:
static bool IsBeginMethod (
    MethodInfo^ methodInfo
)
public static boolean IsBeginMethod (
    MethodInfo methodInfo
)
public static function IsBeginMethod
 (
    methodInfo : MethodInfo
) : boolean

パラメータ

methodInfo

非同期呼び出しBegin メソッドである可能性のある MethodInfo。

戻り値
methodInfo パラメータが、非同期呼び出しBegin メソッドである場合trueそれ以外場合false

使用例使用例
' Get the type for the proxy class MyMath Web service.
' Note: The MyMath class is a proxy class generated by the Wsdl.exe
 
' utility for the Math Web service. This class can also be found in
 
' the SoapHttpClientProtocol Class example. 
Dim myType As Type = GetType(MyMath.MyMath)

Dim myBeginMethod As MethodInfo = myType.GetMethod("BeginAdd")
Dim myEndMethod As MethodInfo = myType.GetMethod("EndAdd")
Dim myMethod As MethodInfo = myType.GetMethod("Add")

Console.WriteLine(("Is 'BeginAdd' a Begin Method : " &
 _
   LogicalMethodInfo.IsBeginMethod(myBeginMethod).ToString()))
Console.WriteLine(("Is 'Add' a Begin Method : " & _
   LogicalMethodInfo.IsBeginMethod(myMethod).ToString()))
Console.WriteLine(("Is 'EndAdd' an End Method : " & _
   LogicalMethodInfo.IsEndMethod(myEndMethod).ToString()))

// Get the type for the proxy class MyMath Web service.
// Note: The MyMath class is a proxy class generated by the Wsdl.exe
 
// utility for the Math Web service. This class can also be found in
 
// the SoapHttpClientProtocol class example. 
Type myType = typeof(MyMath.MyMath);

MethodInfo myBeginMethod = myType.GetMethod("BeginAdd");
MethodInfo myEndMethod = myType.GetMethod("EndAdd");
MethodInfo myMethod = myType.GetMethod("Add");

Console.WriteLine("Is 'BeginAdd' a Begin Method : " + 
   LogicalMethodInfo.IsBeginMethod(myBeginMethod).ToString()); 
Console.WriteLine("Is 'Add' a Begin Method : " + 
   LogicalMethodInfo.IsBeginMethod(myMethod).ToString()); 
Console.WriteLine("Is 'EndAdd' an End Method : " + 
   LogicalMethodInfo.IsEndMethod(myEndMethod).ToString()); 

// Get the type for the proxy class MyMath Web service.
// Note: The MyMath class is a proxy class generated by the Wsdl.exe
// utility for the Math Web service. This class can also be found in
// the SoapHttpClientProtocol class example.
Type^ myType = MyMath::MyMath::typeid;
MethodInfo^ myBeginMethod = myType->GetMethod( "BeginAdd" );
MethodInfo^ myEndMethod = myType->GetMethod( "EndAdd" );
MethodInfo^ myMethod = myType->GetMethod( "Add" );
Console::WriteLine( "Is 'BeginAdd' a Begin Method : {0}", LogicalMethodInfo::IsBeginMethod(
 myBeginMethod ) );
Console::WriteLine( "Is 'Add' a Begin Method : {0}", LogicalMethodInfo::IsBeginMethod(
 myMethod ) );
Console::WriteLine( "Is 'EndAdd' an End Method : {0}", LogicalMethodInfo::IsEndMethod(
 myEndMethod ) );
// Get the type for the proxy class MyMath Web service.
// Note: The MyMath class is a proxy class generated by the Wsdl.exe
 
// utility for the Math Web service. This class can also be found in
 
// the SoapHttpClientProtocol class example. 
Type myType = MyMath.MyMath.class.ToType();

MethodInfo myBeginMethod = myType.GetMethod("BeginAdd");
MethodInfo myEndMethod = myType.GetMethod("EndAdd");
MethodInfo myMethod = myType.GetMethod("Add");

Console.WriteLine("Is 'BeginAdd' a Begin Method : " 
    + Convert.ToString(LogicalMethodInfo.IsBeginMethod(myBeginMethod)));
Console.WriteLine("Is 'Add' a Begin Method : " 
    + Convert.ToString(LogicalMethodInfo.IsBeginMethod(myMethod)));
Console.WriteLine("Is 'EndAdd' an End Method : " 
    + Convert.ToString(LogicalMethodInfo.IsEndMethod(myEndMethod)));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LogicalMethodInfo クラス
LogicalMethodInfo メンバ
System.Web.Services.Protocols 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からLogicalMethodInfo.IsBeginMethod メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からLogicalMethodInfo.IsBeginMethod メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からLogicalMethodInfo.IsBeginMethod メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「LogicalMethodInfo.IsBeginMethod メソッド」の関連用語

LogicalMethodInfo.IsBeginMethod メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



LogicalMethodInfo.IsBeginMethod メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS