TestResultMessage Constructor (SerializationInfo, StreamingContext)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the TestResultMessage class from serialized XML data.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected TestResultMessage(
SerializationInfo info,
StreamingContext context
)
protected:
TestResultMessage(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> TestResultMessage
protected function TestResultMessage(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo object.
- context
Type: System.Runtime.Serialization.StreamingContext
A StreamingContext 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.