public class OperationInterruptedException

Summary

Thrown when a session is destroyed during an RPC call to a broker. For example, if a TCP connection dropping causes the destruction of a session in the middle of a QueueDeclare operation, an OperationInterruptedException will be thrown to the caller of IModel.QueueDeclare.

Property Summary

Flags Type Name Summary
public ShutdownEventArgs ShutdownReason (r)

Retrieves the explanation for the shutdown. May return null if no explanation is available.

Constructor Summary

Flags Name Summary
public OperationInterruptedException(ShutdownEventArgs reason)

Construct an OperationInterruptedException with the passed-in explanation, if any.

Property Detail

public ShutdownEventArgs ShutdownReason (r)

Summary

Retrieves the explanation for the shutdown. May return null if no explanation is available.

Constructor Detail

OperationInterruptedException

public OperationInterruptedException(ShutdownEventArgs reason)

Parameters
Name Type
reason ShutdownEventArgs

Summary

Construct an OperationInterruptedException with the passed-in explanation, if any.