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,
  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

IExternalSerializerGdb Interface