CleanExceptionGetObjectData Method |
When overridden in a derived class, sets the SerializationInfo with information about the exception.
Namespace:
Dundas.BI.WebApi
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxpublic override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Public Overrides Sub GetObjectData (
info As SerializationInfo,
context As StreamingContext
)
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) override
abstract GetObjectData :
info : SerializationInfo *
context : StreamingContext -> unit
override GetObjectData :
info : SerializationInfo *
context : StreamingContext -> unit Parameters
- info
- Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown. - context
- Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination.
Implements
ISerializableGetObjectData(SerializationInfo, StreamingContext)_ExceptionGetObjectData(SerializationInfo, StreamingContext)
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | The info parameter is a null reference ( in Visual Basic). |
| SecurityException | The caller does not have the required permission. |
See Also