Initializes a new instance of the Exception class with serialized data.
Namespace: Scanjour.Workflow4.ActivityLibrary.Exceptions
Assembly: Scanjour.Workflow4.ActivityLibrary_22.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_22.1.0.0.dll) Version: 22.1.0.0 (22.1.0.0)
Syntax
protected NameTypeNotAllowedException( SerializationInfo info, StreamingContext context )
Parameters
- info
- Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown. - context
- Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | info is . |
SerializationException | The class name is or HResult is zero (0). |
See Also