TestMessage Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the TestMessage class from serialized data by using the provided serialization information and 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 TestMessage(
    SerializationInfo info,
    StreamingContext context
)
protected:
TestMessage(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> TestMessage
protected function TestMessage(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

.NET Framework Security

See Also

Reference

TestMessage Class

TestMessage Overload

Microsoft.VisualStudio.TestTools.Common Namespace

SerializationInfo

StreamingContext