共用方式為


UITestControlNotFoundException 建構函式 (SerializationInfo, StreamingContext)

針對還原序列化,初始化 UITestControlNotFoundException 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected UITestControlNotFoundException(
    SerializationInfo info,
    StreamingContext context
)
protected:
UITestControlNotFoundException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> UITestControlNotFoundException
protected function UITestControlNotFoundException(
    info : SerializationInfo, 
    context : StreamingContext
)

參數

.NET Framework 安全性

請參閱

參考

UITestControlNotFoundException 類別

UITestControlNotFoundException 多載

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空間

SerializationInfo

SerializationContext