Abort a transaction.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub tranAbort( _ 
   ByVal tran_id As Long _ 
)
C#
public void tranAbort(
   long tran_id
)
C++
public:
 void tranAbort(
   __int64 tran_id
) sealed 
J#
public void tranAbort(
   long tran_id
)
JScript
public  function tranAbort(
   tran_id : long
)

Exceptions

Exception TypeCondition
NetricsExceptionIf the server indicates that an error has occured.

Remarks

This method aborts the transaction with the given transaction id. If the call to the server should fail a NetricsException is thrown, the error code and message being set to the values returned by the server.

See Also