PosControlException Constructor (SerializationInfo, StreamingContext)
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim serializationInfo As SerializationInfo
Dim streamingContext As StreamingContext
Dim posControlException1 As New PosControlException(serializationInfo, streamingContext)
Syntax
'Declaration
Protected Sub New( _
ByVal serializationInfo As SerializationInfo, _
ByVal streamingContext As StreamingContext _
)
protected PosControlException(
SerializationInfo serializationInfo,
StreamingContext streamingContext
);
protected: PosControlException(
SerializationInfo^ serializationInfo,
StreamingContext^ streamingContext
);
protected PosControlException(
SerializationInfo serializationInfo,
StreamingContext streamingContext
);
protected function PosControlException(
serializationInfo : SerializationInfo,
streamingContext : StreamingContext
);
Parameters
- serializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- streamingContext
The StreamingContext that contains contextual information about the source or destination.
Remarks
Initializes a new instance of the PosControlException class with serialized data.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
PosControlException Class
PosControlException Members
Microsoft.PointOfService Namespace
System.Runtime.Serialization.SerializationInfo
System.Runtime.Serialization.StreamingContext