Cuemon .NET Framework
TryExecuteAction<T>(Act<T>,T) Method

The type of the parameter of the method.
The delegate to invoke.
The first parameter of the method.
Returns a value that indicates whether the specified method can be invoked without an exception.
Syntax
'Declaration
 
Public Overloads Shared Function TryExecuteAction(Of T)( _
   ByVal method As Cuemon.Act(Of T), _
   ByVal arg As T _
) As Boolean
public static bool TryExecuteAction<T>( 
   Cuemon.Act<T> method,
   T arg
)

Parameters

method
The delegate to invoke.
arg
The first parameter of the method.

Type Parameters

T
The type of the parameter of the method.

Return Value

true if the delegate method was invoked without triggering an exception; otherwise false.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TesterDoerUtility Class
TesterDoerUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback