Partager via


EqtException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the EqtException class to propagate the exception from the server to the client by using provided information and context.

Namespace:  Microsoft.VisualStudio.TestTools.Exceptions
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected EqtException(
    SerializationInfo info,
    StreamingContext context
)
protected:
EqtException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> EqtException
protected function EqtException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    Type: SerializationInfo

    Information about the exception.

  • context
    Type: StreamingContext

    The source and the destination of the exception.

Remarks

Used in scenarios that involve remote operations.

.NET Framework Security

See Also

Reference

EqtException Class

EqtException Overload

Microsoft.VisualStudio.TestTools.Exceptions Namespace

SerializationInfo

StreamingContext