# < Summary

Information

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

Line coverage
0%

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

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 | 0%
get_ReasonCode() | 100% | 1 | 0%
get_Description() | 100% | 1 | 0%
get_Language() | 100% | 1 | 0%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\ChannelOpenFailedEventArgs.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `namespace Renci.SshNet.Common`
|  | `2` |  | `{`
|  | `3` |  | `/// <summary>`
|  | `4` |  | `/// Provides data for <see cref="Channels.ClientChannel.OpenFailed"/> event.`
|  | `5` |  | `/// </summary>`
|  | `6` |  | `internal sealed class ChannelOpenFailedEventArgs : ChannelEventArgs`
|  | `7` |  | `{`
|  | `8` |  | `/// <summary>`
|  | `9` |  | `/// Initializes a new instance of the <see cref="ChannelOpenFailedEventArgs"/> class.`
|  | `10` |  | `/// </summary>`
|  | `11` |  | `/// <param name="channelNumber">Channel number.</param>`
|  | `12` |  | `/// <param name="reasonCode">Failure reason code.</param>`
|  | `13` |  | `/// <param name="description">Failure description.</param>`
|  | `14` |  | `/// <param name="language">Failure language.</param>`
|  | `15` |  | `public ChannelOpenFailedEventArgs(uint channelNumber, uint reasonCode, string description, string language)`
| 0 | `16` |  | `: base(channelNumber)`
| 0 | `17` |  | `{`
| 0 | `18` |  | `ReasonCode = reasonCode;`
| 0 | `19` |  | `Description = description;`
| 0 | `20` |  | `Language = language;`
| 0 | `21` |  | `}`
|  | `22` |  | ``
|  | `23` |  | `/// <summary>`
|  | `24` |  | `/// Gets failure reason code.`
|  | `25` |  | `/// </summary>`
| 0 | `26` |  | `public uint ReasonCode { get; }`
|  | `27` |  | ``
|  | `28` |  | `/// <summary>`
|  | `29` |  | `/// Gets failure description.`
|  | `30` |  | `/// </summary>`
| 0 | `31` |  | `public string Description { get; }`
|  | `32` |  | ``
|  | `33` |  | `/// <summary>`
|  | `34` |  | `/// Gets failure language.`
|  | `35` |  | `/// </summary>`
| 0 | `36` |  | `public string Language { get; }`
|  | `37` |  | `}`
|  | `38` |  | `}`

# Methods/Properties

.ctor(System.UInt32,System.UInt32,System.String,System.String)
get_ReasonCode()
get_Description()
get_Language()