Share via


Task.ThrowTerminatingError method (Exception, , Object)

Namespace:  Microsoft.Exchange.Configuration.Tasks
Assembly:  Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)

Syntax

'Declaration
Protected Sub ThrowTerminatingError ( _
    exception As Exception, _
    category As ErrorCategory, _
    target As Object _
)
'Usage
Dim exception As Exception
Dim category As ErrorCategory
Dim target As Object

Me.ThrowTerminatingError(exception, _
    category, target)
protected void ThrowTerminatingError(
    Exception exception,
    ErrorCategory category,
    Object target
)

Parameters

  • category
    Type: ErrorCategory

See also

Reference

Task class

Task members

ThrowTerminatingError overload

Microsoft.Exchange.Configuration.Tasks namespace