Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new UITest by deserializing XML from the provided stream.
Namespace: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.dll)
Syntax
'Declaration
Public Shared Function Create ( _
reader As Stream _
) As UITest
'Usage
Dim reader As Stream
Dim returnValue As UITest
returnValue = UITest.Create(reader)
public static UITest Create(
Stream reader
)
public:
static UITest^ Create(
Stream^ reader
)
static member Create :
reader:Stream -> UITest
public static function Create(
reader : Stream
) : UITest
Parameters
- reader
Type: System.IO.Stream
A Stream that provides the XML source.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITest
A new UI test object.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Input XML could not be validated. |
.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
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace