ITransactionInfo.RecordException(Exception, SerializationManager) Method

Definition

Record an unhandled exception thrown by a grain call. This causes the transaction to abort.

public void RecordException (Exception e, Orleans.Serialization.SerializationManager serializationManager);
abstract member RecordException : Exception * Orleans.Serialization.SerializationManager -> unit
Public Sub RecordException (e As Exception, serializationManager As SerializationManager)

Parameters

e
Exception

The unhandled exception that was thrown by the grain call

serializationManager
SerializationManager

The serialization manager used for serializing the exception

Applies to