共用方式為


PSClientError.GetObjectData 方法

序列化期間儲存使用的錯誤訊息字串。

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Public Overridable Sub GetObjectData ( _
    s As SerializationInfo, _
    c As StreamingContext _
)
'用途
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
)

參數

實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

請參閱

參照

PSClientError 類別

PSClientError 成員

Microsoft.Office.Project.Server.Library 命名空間