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