MessageException Constructor (String, IMessageBase, Exception)
Initializes a new instance of the MessageException class. This constructor is an exception with a message.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public MessageException(
string message,
IMessageBase sendingMessage,
Exception innerException
)
public:
MessageException(
String^ message,
IMessageBase^ sendingMessage,
Exception^ innerException
)
Public Sub New (
message As String,
sendingMessage As IMessageBase,
innerException As Exception
)
Parameters
message
Type: System.StringThe message text.
sendingMessage
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageBaseThe sending message.
innerException
Type: System.ExceptionThe exception.
See Also
MessageException Overload
MessageException Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top