SaveChangesException.GetObjectData Method (SerializationInfo, StreamingContext)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Sets the SerializationInfo with information about the exception.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[SecurityCriticalAttribute]
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
<SecurityCriticalAttribute>
Public Overrides Sub GetObjectData (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoType: SerializationInfo. The serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextType: StreamingContext. The contextual information about the source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext) _Exception.GetObjectData(SerializationInfo, StreamingContext)
See Also
SaveChangesException Class
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright