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


IGPMessages.ReplaceAbort Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessages.ReplaceAbort Method

Creates message of type esriGPMessageTypeAbort and replaces it into a specified position.

[Visual Basic .NET]
Public Sub ReplaceAbort ( _
    ByVal Index As Integer, _
    ByVal Message As String _
)
[C#]
public void ReplaceAbort (
    int Index,
    string Message
);
[C++]
HRESULT ReplaceAbort(
  long Index,
  BSTR Message
);
[C++]

Parameters Index [in] Index is a parameter of type long Message [in] Message is a parameter of type BSTR

Product Availability

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

Remarks

The ReplaceAbort method creates a GPMessage of type esriGPMEssageTypeAbort and replaces it into a specified position in this GPMessages collection.

See Also

IGPMessages Interface