Task.WriteError Method (Exception, , Object, Boolean, String)
Namespace: Microsoft.Exchange.Configuration.Tasks
Assembly: Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)
Syntax
'Declaration
Protected Sub WriteError ( _
exception As Exception, _
category As ErrorCategory, _
target As Object, _
reThrow As Boolean, _
helpUrl As String _
)
'Usage
Dim exception As Exception
Dim category As ErrorCategory
Dim target As Object
Dim reThrow As Boolean
Dim helpUrl As String
Me.WriteError(exception, category, _
target, reThrow, helpUrl)
protected void WriteError(
Exception exception,
ErrorCategory category,
Object target,
bool reThrow,
string helpUrl
)
Parameters
- exception
Type: System.Exception
- category
Type: ErrorCategory
- target
Type: System.Object
- reThrow
Type: System.Boolean
- helpUrl
Type: System.String