RemoteAccessException.GetObjectData Method (SerializationInfo, StreamingContext)
Sets the SerializationInfo object with information about the exception.
Namespace: Microsoft.WindowsServerSolutions.Web
Assembly: Wssg.Web (in Wssg.Web.dll)
Syntax
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
public:
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::SerializationFormatter)]
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) override
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.SerializationFormatter)>
Public Overrides Sub GetObjectData (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe SerializationInfo object that holds the serialized object data about the exception.
context
Type: System.Runtime.Serialization.StreamingContextThe StreamingContent object that contains contextual information about the source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext) _Exception.GetObjectData(SerializationInfo, StreamingContext)
See Also
RemoteAccessException Class
Microsoft.WindowsServerSolutions.Web Namespace
Return to top