AddInException.ISerializable.GetObjectData Method
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Adds information about the exception to the specified SerializationInfo.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _
Private Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
) Implements ISerializable.GetObjectData
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
void ISerializable.GetObjectData(
SerializationInfo info,
StreamingContext context
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo that contains the information that is required to serialize the current AddInException.
- context
Type: System.Runtime.Serialization.StreamingContext
A StreamingContext that contains the source and destination of the serialized stream that is associated with the current AddInException.
Implements
ISerializable.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.