TestResultBase Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TestResultBase() |
Initializes a new instance of the TestResultBase class. |
TestResultBase(TestResultBase) |
Initializes a new instance of the TestResultBase class by making a copy of the provided test result instance. |
TestResultBase(Guid, Guid) |
Initializes a new instance of the TestResultBase class by using the provided test run ID and test execution ID. Called by the testing framework. |
TestResultBase(SerializationInfo, StreamingContext) |
Initializes a new instance of the TestResultBase class from serialized XML data. Called by the test framework. |
TestResultBase()
Initializes a new instance of the TestResultBase class.
protected:
TestResultBase();
protected TestResultBase ();
Protected Sub New ()
Applies to
TestResultBase(TestResultBase)
Initializes a new instance of the TestResultBase class by making a copy of the provided test result instance.
public:
TestResultBase(Microsoft::VisualStudio::TestTools::Common::TestResultBase ^ other);
public TestResultBase (Microsoft.VisualStudio.TestTools.Common.TestResultBase other);
new Microsoft.VisualStudio.TestTools.Common.TestResultBase : Microsoft.VisualStudio.TestTools.Common.TestResultBase -> Microsoft.VisualStudio.TestTools.Common.TestResultBase
Public Sub New (other As TestResultBase)
Parameters
- other
- TestResultBase
A TestResultBase object.
Applies to
TestResultBase(Guid, Guid)
Initializes a new instance of the TestResultBase class by using the provided test run ID and test execution ID. Called by the testing framework.
public:
TestResultBase(Guid runId, Guid execId);
public TestResultBase (Guid runId, Guid execId);
new Microsoft.VisualStudio.TestTools.Common.TestResultBase : Guid * Guid -> Microsoft.VisualStudio.TestTools.Common.TestResultBase
Public Sub New (runId As Guid, execId As Guid)
Parameters
Applies to
TestResultBase(SerializationInfo, StreamingContext)
Initializes a new instance of the TestResultBase class from serialized XML data. Called by the test framework.
protected:
TestResultBase(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected TestResultBase (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.Common.TestResultBase : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.Common.TestResultBase
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
A SerializationInfo object.
- context
- StreamingContext
A StreamingContext object.