SenderException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the SenderException class.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
protected SenderException(
SerializationInfo info,
StreamingContext context
)
protected:
SenderException(
SerializationInfo^ info,
StreamingContext context
)
Protected Sub New (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
Exception | Condition |
---|---|
SerializationException | The class name is null or HResult is zero (0). |
ArgumentNullException | The info parameter is null. |
See Also
SenderException Overload
SenderException Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top