Class ChannelOpenFailureMessage
- Namespace
- Renci.SshNet.Messages.Connection
- Assembly
- Renci.SshNet.dll
Represents SSH_MSG_CHANNEL_OPEN_FAILURE message.
public class ChannelOpenFailureMessage : ChannelMessage
- Inheritance
-
ChannelOpenFailureMessage
- Inherited Members
Constructors
ChannelOpenFailureMessage()
Initializes a new instance of the ChannelOpenFailureMessage class.
public ChannelOpenFailureMessage()
ChannelOpenFailureMessage(uint, string, uint)
Initializes a new instance of the ChannelOpenFailureMessage class.
public ChannelOpenFailureMessage(uint localChannelNumber, string description, uint reasonCode)
Parameters
localChannelNumber
uintThe local channel number.
description
stringThe description.
reasonCode
uintThe reason code.
ChannelOpenFailureMessage(uint, string, uint, string)
Initializes a new instance of the ChannelOpenFailureMessage class.
public ChannelOpenFailureMessage(uint localChannelNumber, string description, uint reasonCode, string language)
Parameters
localChannelNumber
uintThe local channel number.
description
stringThe description.
reasonCode
uintThe reason code.
language
stringThe language (RFC3066).
Properties
BufferCapacity
Gets the size of the message in bytes.
protected override int BufferCapacity { get; }
Property Value
- int
The size of the messages in bytes.
Description
Gets description for failure.
public string Description { get; }
Property Value
Language
Gets message language.
public string Language { get; }
Property Value
MessageName
public override string MessageName { get; }
Property Value
MessageNumber
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()