Class ChannelOpenFailureMessage
- Namespace
- Renci.SshNet.Messages.Connection
- Assembly
- Renci.SshNet.dll
Represents SSH_MSG_CHANNEL_OPEN_FAILURE message.
public class ChannelOpenFailureMessage : ChannelMessageInheritance
Inherited Members
Constructors
ChannelOpenFailureMessage()
Initializes a new instance of the Renci.SshNet.Messages.Connection.ChannelOpenFailureMessage class.
public ChannelOpenFailureMessage()ChannelOpenFailureMessage(uint, string, uint)
Initializes a new instance of the Renci.SshNet.Messages.Connection.ChannelOpenFailureMessage class.
public ChannelOpenFailureMessage(uint localChannelNumber, string description, uint reasonCode)Parameters
localChannelNumberuint-
The local channel number.
descriptionstring-
The description.
reasonCodeuint-
The reason code.
ChannelOpenFailureMessage(uint, string, uint, string)
Initializes a new instance of the Renci.SshNet.Messages.Connection.ChannelOpenFailureMessage class.
public ChannelOpenFailureMessage(uint localChannelNumber, string description, uint reasonCode, string language)Parameters
localChannelNumberuint-
The local channel number.
descriptionstring-
The description.
reasonCodeuint-
The reason code.
languagestring-
The language (RFC3066).
Properties
BufferCapacity
Gets the size of the message in bytes.
protected override int BufferCapacity { get; }Property Value
Description
Gets description for failure.
public string Description { get; }Property Value
Language
Gets message language.
public string Language { get; }Property Value
MessageName
Gets the message name as defined in RFC 4250.
public override string MessageName { get; }Property Value
MessageNumber
Gets the message number as defined in RFC 4250.
public override byte MessageNumber { get; }Property Value
ReasonCode
Gets failure reason code.
public uint ReasonCode { get; }Property Value
Methods
LoadData()
Called when type specific data need to be loaded.
protected override void LoadData()SaveData()
Called when type specific data need to be saved.
protected override void SaveData()