Creates the ErrorStack instance by explicitly specifying the
ErrorRecord object that the error stack is to contain.
Namespace:
FileNet.Api.Exception
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Public Sub New ( _
errorName As String, _
recs As ErrorRecord() _
) |
C# |
---|
public ErrorStack(
string errorName,
ErrorRecord[] recs
) |
Visual C++ |
---|
public:
ErrorStack(
String^ errorName,
array<ErrorRecord^>^ recs
) |
JavaScript |
---|
FileNet.Api.Exception.ErrorStack = function(errorName, recs); |
Parameters
- errorName
- Type: System..::.String
A String containing the name to assign to the
error stack. If null, this defaults to ExceptionCode.E_SERVER_ERROR.
- recs
- Type: array<
FileNet.Api.Exception..::.ErrorRecord
>[]()[]
An ErrorRecord array containing the exceptions.