AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

Namespace: Amazon.EC2.Import
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public virtual void GetObjectData(
         SerializationInfo info,
         StreamingContext context
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfo

The that holds the serialized object data about the exception being thrown.

context
Type: System.Runtime.Serialization.StreamingContext

The that contains contextual information about the source or destination.

Exceptions

ExceptionCondition
System.ArgumentNullException The parameter is a null reference (Nothing in Visual Basic).

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5