Table of Contents

Class ConnectionAbortedException

Namespace
Ice
Assembly
Ice.dll

This exception indicates that a connection was closed forcefully.

public sealed class ConnectionAbortedException : LocalException, ISerializable
Inheritance
ConnectionAbortedException
Implements
Inherited Members

Constructors

ConnectionAbortedException(string, bool)

Initializes a new instance of the ConnectionAbortedException class.

public ConnectionAbortedException(string message, bool closedByApplication)

Parameters

message string

The exception message.

closedByApplication bool

A value indicating whether the connection was aborted by the application.

Properties

closedByApplication

Gets a value indicating whether the connection was aborted by the application.

public bool closedByApplication { get; }

Property Value

bool

true if the connection was aborted by the application; otherwise, false.

Methods

ice_id()

Returns the type ID of this exception. This corresponds to the Slice type ID for Slice-defined exceptions, and to a fully scoped name for other exceptions.

public override string ice_id()

Returns

string

The type ID of this exception.