LogicalMethodInfo.IsEndMethod メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim methodInfo As MethodInfo Dim returnValue As Boolean returnValue = LogicalMethodInfo.IsEndMethod(methodInfo)
戻り値
methodInfo パラメータが非同期呼び出しの End メソッドである場合は 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)));

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からLogicalMethodInfo.IsEndMethod メソッドを検索する場合は、下記のリンクをクリックしてください。

- LogicalMethodInfo.IsEndMethod メソッドのページへのリンク