Creates an BindingException and includes an inner exception.

Namespace:  PostSharp
Assembly:  PostSharp.Core (in PostSharp.Core.dll)

Syntax

Visual Basic (Declaration)
Public Function CreateBindingException ( _
	messageKey As String, _
	innerException As Exception, _
	ParamArray arguments As Object() _
) As Exception
C#
public Exception CreateBindingException(
	string messageKey,
	Exception innerException,
	params Object[] arguments
)
Visual C++
public:
Exception^ CreateBindingException(
	String^ messageKey, 
	Exception^ innerException, 
	... array<Object^>^ arguments
)

Parameters

messageKey
Type: System..::.String
Key of the resource string containing the message. The message may contain arguments like {0}, {1}, ...
innerException
Type: System..::.Exception
The exception that is wrapped by the new exception.
arguments
Type: array< System..::.Object >[]()[]
Arguments of the formatting string.

See Also