共用方式為


DiscussionException.GetObjectData 方法

這個成員會覆寫 Exception.GetObjectData(SerializationInfo, StreamingContext)

命名空間:  Microsoft.TeamFoundation.Discussion.Client
組件:  Microsoft.TeamFoundation.Discussion.Client (在 Microsoft.TeamFoundation.Discussion.Client.dll 中)

語法

'宣告
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

參數

實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

.NET Framework 安全性

請參閱

參考

DiscussionException 類別

Microsoft.TeamFoundation.Discussion.Client 命名空間