Cuemon .NET Framework
TryExecuteFunction<T,TResult>(Doer<T,TResult>,T) Method

The type of the parameter of the method.
The type of the return value of the method that you explicitly have chosen to ignore.
The function delegate to invoke.
The parameter of the method.
Returns a value that indicates whether the specified method was invoked without an exception.
Syntax
'Declaration
 
Public Overloads Shared Function TryExecuteFunction
    (Of T,TResult)( _
   ByVal method As Cuemon.Doer(Of T,TResult), _
   ByVal arg As T _
) As Boolean
public static bool TryExecuteFunction<T,TResult>( 
   Cuemon.Doer<T,TResult> method,
   T arg
)

Parameters

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

Type Parameters

T
The type of the parameter of the method.
TResult
The type of the return value of the method that you explicitly have chosen to ignore.

Return Value

true if an instance of TResult has been created; 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