InputValidationException.GetObjectData Method
This member overrides Exception.GetObjectData(SerializationInfo, StreamingContext).
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) override
abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
public override function GetObjectData(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception that is being thrown.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
.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
InputValidationException Class