public enum struct ShutdownInitiator

Summary

Describes the source of a shutdown event.

Field Summary

Flags Type Name Summary
public const ShutdownInitiator Application

The shutdown event originated from the application using the RabbitMQ .NET client library.

public const ShutdownInitiator Library

The shutdown event originated from the RabbitMQ .NET client library itself.

public const ShutdownInitiator Peer

The shutdown event originated from the remote AMQP peer.

Field Detail

public const ShutdownInitiator Application

Summary

The shutdown event originated from the application using the RabbitMQ .NET client library.

public const ShutdownInitiator Library

Summary

The shutdown event originated from the RabbitMQ .NET client library itself.

Remarks

Shutdowns with this ShutdownInitiator code may appear if, for example, an internal error is detected by the client, or if the server sends a syntactically invalid frame. Another potential use is on IConnection AutoClose.

public const ShutdownInitiator Peer

Summary

The shutdown event originated from the remote AMQP peer.

Remarks

A valid received connection.close or channel.close event will manifest as a shutdown with this ShutdownInitiator.