TaskEditErrors.AddError method (TaskEditErrorType, String)
Add high-level errors (provider/location/task level errors).
Namespace: Microsoft.Office.Server.WorkManagement.ProviderOM
Assembly: Microsoft.Office.Server.WorkManagement (in Microsoft.Office.Server.WorkManagement.dll)
Syntax
'Declaration
Public Sub AddError ( _
errorType As TaskEditErrorType, _
errorMessage As String _
)
'Usage
Dim instance As TaskEditErrors
Dim errorType As TaskEditErrorType
Dim errorMessage As String
instance.AddError(errorType, errorMessage)
public void AddError(
TaskEditErrorType errorType,
string errorMessage
)
Parameters
errorType
Type: Microsoft.Office.Server.WorkManagement.ProviderOM.TaskEditErrorTypeThe error type, from TaskEditErrorType.
errorMessage
Type: System.StringA string containing additional information.