T
The type of the operation.
Cocktail Help Reference
ContinueOnError<T> Method
See Also  Send Feedback
Cocktail.Compat Assembly > Cocktail Namespace > OperationFns Class : ContinueOnError<T> Method



operation
The operation for which the error should be marked as handled.

Glossary Item Box

Ensures that a Coroutine continues if the current operation encounters an error and prevents an unhandled exception from being thrown.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Shared Function ContinueOnError(Of T As IdeaBlade.EntityModel.INotifyCompleted)( _
   ByVal operation As T _
) As T
Visual Basic (Usage)Copy Code
Dim operation As T
Dim value As T
 
value = OperationFns.ContinueOnError(Of T)(operation)
C# 
[ExtensionAttribute()]
public static T ContinueOnError<T>( 
   T operation
)
where T: IdeaBlade.EntityModel.INotifyCompleted
C++/CLI 
[ExtensionAttribute()]
public:
static T^ ContinueOnErrorgeneric<typename T>
( 
   T^ operation
) 
where T: IdeaBlade.EntityModel.INotifyCompleted

Parameters

operation
The operation for which the error should be marked as handled.

Type Parameters

T
The type of the operation.

Return Value

The current operation.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.