This document is archived and information here might be outdated.  Recommended version.


IExternalSerializerGdb2.GetErrorObject Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IExternalSerializerGdb2.GetErrorObject Method

Convenience method. Creates and returns error object as byte SAFEARRAY.

[Visual Basic .NET]
Public Function GetErrorObject ( _
    ByVal propname As String, _
    ByVal Code As Integer, _
    ByVal Message As String, _
    ByVal details As IStringArray _
) As Byte[]
[C#]
public Byte[] GetErrorObject (
    string propname,
    int Code,
    string Message,
    IStringArray details
);
[C++]
HRESULT GetErrorObject(
  BSTR propname,
  long Code,
  BSTR Message,
  IStringArray* details,
  ppReturnBytes* ppReturnBytes
);
[C++]

Parameters propname [in] propname is a parameter of type BSTR Code [in] Code is a parameter of type long Message [in] Message is a parameter of type BSTR details [in]
details is a parameter of type IStringArray ppReturnBytes [out, retval] ppReturnBytes is a parameter of type

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IExternalSerializerGdb2 Interface