# < Summary

Information

Class: | Renci.SshNet.Messages.Connection.ChannelFailureMessage
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Connection\ChannelFailureMessage.cs

Line coverage
100%

Covered lines: | 9
Uncovered lines: | 0
Coverable lines: | 9
Total lines: | 30
Line coverage: | 100%

Branch coverage
N/A

Covered branches: | 0
Total branches: | 0
Branch coverage: | N/A

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor() | 100% | 1 | 100%
.ctor(...) | 100% | 1 | 100%
Process(...) | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Messages\Connection\ChannelFailureMessage.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `namespace Renci.SshNet.Messages.Connection`
|  | `2` |  | `{`
|  | `3` |  | `/// <summary>`
|  | `4` |  | `/// Represents SSH_MSG_CHANNEL_FAILURE message.`
|  | `5` |  | `/// </summary>`
|  | `6` |  | `[Message("SSH_MSG_CHANNEL_FAILURE", 100)]`
|  | `7` |  | `public class ChannelFailureMessage : ChannelMessage`
|  | `8` |  | `{`
|  | `9` |  | `/// <summary>`
|  | `10` |  | `/// Initializes a new instance of the <see cref="ChannelFailureMessage"/> class.`
|  | `11` |  | `/// </summary>`
| 1 | `12` |  | `public ChannelFailureMessage()`
| 1 | `13` |  | `{`
| 1 | `14` |  | `}`
|  | `15` |  | ``
|  | `16` |  | `/// <summary>`
|  | `17` |  | `/// Initializes a new instance of the <see cref="ChannelFailureMessage"/> class.`
|  | `18` |  | `/// </summary>`
|  | `19` |  | `/// <param name="localChannelNumber">The local channel number.</param>`
|  | `20` |  | `public ChannelFailureMessage(uint localChannelNumber)`
| 6 | `21` |  | `: base(localChannelNumber)`
| 6 | `22` |  | `{`
| 6 | `23` |  | `}`
|  | `24` |  | ``
|  | `25` |  | `internal override void Process(Session session)`
| 1 | `26` |  | `{`
| 1 | `27` |  | `session.OnChannelFailureReceived(this);`
| 1 | `28` |  | `}`
|  | `29` |  | `}`
|  | `30` |  | `}`

# Methods/Properties

.ctor()
.ctor(System.UInt32)
Process(Renci.SshNet.Session)