Creates an exception with an associated agent error status and custom message

Namespace: NHINDirect.Agent
Assembly: nhinAgent (in nhinAgent.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public AgentException(
	AgentError error,
	string message
)
Visual Basic
Public Sub New ( _
	error As AgentError, _
	message As String _
)
Visual C++
public:
AgentException(
	AgentError error, 
	String^ message
)

Parameters

error
Type: NHINDirect.Agent..::..AgentError
The AgentError status
message
Type: System..::..String
The custom message for this error

See Also