C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.ErrorPdu

A type of PDU to indicate some errors.
Inheritance: RdpbcgrClientPdu
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method Description
Clone ( ) : StackPacket

Create an instance of the class that is identical to the current PDU.

ErrorPdu ( Exception e ) : System

Create an ErrorPdu.

ErrorPdu ( Exception e, byte packetData ) : System

Create an ErrorPdu.

ToBytes ( ) : byte[]

Encode this structure into byte array.

Method Details

Clone() public method

Create an instance of the class that is identical to the current PDU.
public Clone ( ) : StackPacket
return StackPacket

ErrorPdu() public method

Create an ErrorPdu.
public ErrorPdu ( Exception e ) : System
e System.Exception The decoding exception.
return System

ErrorPdu() public method

Create an ErrorPdu.
public ErrorPdu ( Exception e, byte packetData ) : System
e System.Exception The decoding exception.
packetData byte The pdu data in bytes.
return System

ToBytes() public method

Encode this structure into byte array.
public ToBytes ( ) : byte[]
return byte[]