Partager via


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

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

See Also

Reference

PSClientError Class

PSClientError Members

Microsoft.Office.Project.Server.Library Namespace