TestStateEvent Constructor (SerializationInfo, StreamingContext)
Initializes an instance of the TestStateEvent class by using the serialization information and 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 TestStateEvent(
SerializationInfo info,
StreamingContext context
)
protected:
TestStateEvent(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> TestStateEvent
protected function TestStateEvent(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: SerializationInfoA SerializationInfo object that stores the data that is required to serialize an instance of the TestStateEvent class.
context
Type: StreamingContextA StreamingContext object that describes the source and the destination of a given stream.
.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.