Compartir a través de


Task.ThrowTerminatingError Method ()

NOTE: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Use ThrowTerminatingError(LocalizedException e, ErrorCategory category, object target) instead.")> _
Protected Sub ThrowTerminatingError ( _
    errorRecord As ErrorRecord _
)
'Usage
Dim errorRecord As ErrorRecord

Me.ThrowTerminatingError(errorRecord)
[ObsoleteAttribute("Use ThrowTerminatingError(LocalizedException e, ErrorCategory category, object target) instead.")]
protected void ThrowTerminatingError(
    ErrorRecord errorRecord
)

Parameters

  • errorRecord
    Type: ErrorRecord