'Declaration
<SecurityPermissionAttribute(SecurityPermissionFlag.SerializationFormatter)> Public Overrides Sub GetObjectData( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ )
'Usage
Dim instance As APIException 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 to populate with data.
- context
- The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.