ConditionalRuleException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ConditionalRuleException class. Used in remoting scenarios when an exception is propagated from the server to the client.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected ConditionalRuleException(
SerializationInfo info,
StreamingContext context
)
protected:
ConditionalRuleException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ConditionalRuleException
protected function ConditionalRuleException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo to use for serialization and deserialization.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext to describe the source and destination of the serialized 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.
See Also
Reference
ConditionalRuleException Class