Share via


TextTestResultMessage Constructor (SerializationInfo, StreamingContext)

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

  • context
    Type: StreamingContext

    The destination of the serialized stream. For more information see, StreamingContext.

.NET Framework Security

See Also

Reference

TextTestResultMessage Class

TextTestResultMessage Overload

Microsoft.VisualStudio.TestTools.Common Namespace

SerializationInfo

StreamingContext