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


IExternalSerializerGdb.GetErrorObject Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IExternalSerializerGdb.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
);
[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*

Product Availability

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

See Also

IExternalSerializerGdb Interface