A Sandcastle Documented Class Library

# OperationFailedException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the OperationFailedException class with serialized data.

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    protected OperationFailedException(
    	SerializationInfo info,
    	StreamingContext context
    )

    Protected Sub New (
    	info As SerializationInfo,
    	context As StreamingContext
    )

    protected:
    OperationFailedException(
    	SerializationInfo^ info,
    	StreamingContext context
    )

    new :
            info : SerializationInfo *
            context : StreamingContext -> OperationFailedException

#### Parameters

info
  Type: System.Runtime.Serialization
  SerializationInfo
  The SerializationInfo that holds the serialized object data about the exception being thrown.
context
  Type: System.Runtime.Serialization
  StreamingContext
  The StreamingContext that contains contextual information about the source or destination.

Remarks
You should not use this constructor in your code. Instead, use constructor that accepts inner exception.
See Also

#### Reference

OperationFailedException Class
OperationFailedException Overload
Dundas.BI Namespace