Use this to create a record from exception data.
Namespace:
FileNet.Api.Exception
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Public Sub New ( _
source As String, _
description As String, _
diagnosticTypes As Hashtable _
) |
C# |
---|
public ErrorRecord(
string source,
string description,
Hashtable diagnosticTypes
) |
Visual C++ |
---|
public:
ErrorRecord(
String^ source,
String^ description,
Hashtable^ diagnosticTypes
) |
JavaScript |
---|
FileNet.Api.Exception.ErrorRecord = function(source, description, diagnosticTypes); |
Parameters
- source
- Type: System..::.String
A String containing the name of the exception instance
that occurred.
- description
- Type: System..::.String
A String containing a description of the exception.
- diagnosticTypes
- Type: System.Collections..::.Hashtable
A System.Collections.Hashtable object containing
the exception code string, and a string containing the stack trace information for
this exception.