CertificateException.GetObjectData Method (SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Syntax
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
SerializationInfo serializationInfo,
StreamingContext streamingContext
)
public:
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
SerializationInfo^ serializationInfo,
StreamingContext streamingContext
) override
[<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)>]
override GetObjectData :
serializationInfo:SerializationInfo *
streamingContext:StreamingContext -> unit
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)>
Public Overrides Sub GetObjectData (
serializationInfo As SerializationInfo,
streamingContext As StreamingContext
)
Parameters
serializationInfo
Type: System.Runtime.Serialization.SerializationInfoThe serialized object data about the exception thrown.
streamingContext
Type: System.Runtime.Serialization.StreamingContextThe contextual data about the source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) _Exception.GetObjectData(SerializationInfo, StreamingContext)
See Also
CertificateException Class
System.Web.Security.SingleSignOn Namespace
Return to top