MessageException Constructor (String, IMessageBase)
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
)
public:
MessageException(
String^ message,
IMessageBase^ sendingMessage
)
Public Sub New (
message As String,
sendingMessage As IMessageBase
)
Parameters
message
Type: System.StringThe message string.
sendingMessage
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageBaseThe sending message.
See Also
MessageException Overload
MessageException Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top