UITestControlNotFoundException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the UITestControlNotFoundException class for deserialization.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
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
)
Parameters
info
Type: SerializationInfoA SerializationInfo object.
context
Type: StreamingContextA SerializationContext object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UITestControlNotFoundException Class
UITestControlNotFoundException Overload
Microsoft.VisualStudio.TestTools.UITest.Extension Namespace
SerializationContext