Task.ThrowTerminatingError Method (LocalizedException, , Object)
Namespace: Microsoft.Exchange.Configuration.Tasks
Assembly: Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)
Syntax
'Declaration
Protected Sub ThrowTerminatingError ( _
exception As LocalizedException, _
category As ExchangeErrorCategory, _
target As Object _
)
'Usage
Dim exception As LocalizedException
Dim category As ExchangeErrorCategory
Dim target As Object
Me.ThrowTerminatingError(exception, _
category, target)
protected void ThrowTerminatingError(
LocalizedException exception,
ExchangeErrorCategory category,
Object target
)
Parameters
- exception
Type: Microsoft.Exchange.Data.Common.LocalizedException
- category
Type: ExchangeErrorCategory
- target
Type: System.Object