Reputation: 2533
I am trying to document all major exceptions that can be caused due to use (or misuse) of IntPtr
. I tried to search for it, but I am not sure about any other than the OverflowException
. This is for interface
documentation.
Can someone provide a link or possibly state the main exceptions that can be caused due to the use of IntPtr
?
Please let me know if this question does not belong here. I was not sure where to put it.
Upvotes: 1
Views: 112
Reputation: 223277
Other than OverFlowException
there is an other one ArgumentNullException
which may be raised against. IntPtr.ISerializable.GetObjectData Method.
From the documentation on MSDN it seems that the OverflowException may occur against.
Upvotes: 2