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