PSClientError.GetObjectData Method
Stores the error message string for use during serialization.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overridable Sub GetObjectData ( _
s As SerializationInfo, _
c As StreamingContext _
)
'Usage
Dim instance As PSClientError
Dim s As SerializationInfo
Dim c As StreamingContext
instance.GetObjectData(s, c)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public virtual void GetObjectData(
SerializationInfo s,
StreamingContext c
)
Parameters
- s
Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo object that contains information needed to serialize or deserialize another object.
- c
Type: System.Runtime.Serialization.StreamingContext
A StreamingContext object that contains contextual information about the source or destination of a given serialized stream.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)