Click or drag to resize
Infosoft Logo

TaskExtensionsLogUnhandledExceptionsT(TaskT, ILog) Method


Namespace: System.Threading.Tasks
Assembly: Infosoft.Library (in Infosoft.Library.dll) Version: 4.00.0.0
Syntax
public static Task<T> LogUnhandledExceptions<T>(
	this Task<T> task,
	ILog logger = null
)

Parameters

task  TaskT
 
logger  ILog  (Optional)
 

Type Parameters

T

Return Value

TaskT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TaskT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also