Gets the ExceptionCode object referenced by the specified resource key (ExceptionCode field name). This method is thread safe.

Namespace:  FileNet.Api.Exception
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Shared Function GetExceptionCode ( _
	key As String _
) As ExceptionCode
C#
public static ExceptionCode GetExceptionCode(
	string key
)
Visual C++
public:
static ExceptionCode^ GetExceptionCode(
	String^ key
)
JavaScript
FileNet.Api.Exception.ExceptionCode.getExceptionCode = function(key);

Parameters

key
Type: System..::.String
A String containing the resource key (field name) for the exception.

Return Value

The ExceptionCode object containing the resource key specified.

ToggleSee Also