NSException.GetObjectData Method
Sets the SerializationInfo with information about the exception.
Namespace: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)]
public override void GetObjectData (
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)]
public:
virtual void GetObjectData (
SerializationInfo^ info,
StreamingContext context
) override
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */
public void GetObjectData (
SerializationInfo info,
StreamingContext context
)
public override function GetObjectData (
info : SerializationInfo,
context : StreamingContext
)
- info
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
The StreamingContext that contains contextual information about the source or destination.
GetObjectData sets a SerializationInfo with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the SerializationInfo transmitted over the stream.
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
NSException Class
NSException Members
Microsoft.SqlServer.NotificationServices Namespace