Initializes a new instance of the TextTestResultMessage class from serialized XML data by using the provided serialization information and the streaming context.
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 TextTestResultMessage(
    SerializationInfo info,
    StreamingContext context
)
protected:
TextTestResultMessage(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> TextTestResultMessage
protected function TextTestResultMessage(
    info : SerializationInfo, 
    context : StreamingContext
)
Parameters
- info 
 Type: SerializationInfo- The SerializationInfo to populate with data. 
- context 
 Type: StreamingContext- The destination of the serialized stream. For more information see, StreamingContext. 
.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
TextTestResultMessage Overload