'Declaration
<SecurityPermissionAttribute(SecurityPermissionFlag.SerializationFormatter)> Public Overrides Sub GetObjectData( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ )
'Usage
Dim instance As IbmHostsException Dim info As SerializationInfo Dim context As StreamingContext instance.GetObjectData(info, context)
[SecurityPermission(SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData( SerializationInfo info, StreamingContext context )
Parameters
- info
- The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.