Silverlight 5 | WinRT |
public sealed enum Handshake | |
: IComparable, IFormattable, IConvertible | |
{ None, XOnXOff, RequestToSend, RequestToSendXOnXOff } |
public sealed enum Parity | |
: IComparable, IFormattable, IConvertible | |
{ None, Odd, Even, Mark, Space } |
public sealed enum SerialData | |
: IComparable, IFormattable, IConvertible | |
{ Chars, Eof } |
public class SerialDataReceivedEventArgs | |
: EventArgs | |
public SerialData EventType { get; } |
public sealed class SerialDataReceivedEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual IAsyncResult BeginInvoke(Object sender, SerialDataReceivedEventArgs e, AsyncCallback callback, Object object); | |
public virtual void EndInvoke(IAsyncResult result); | |
public virtual void Invoke(Object sender, SerialDataReceivedEventArgs e); |
public sealed enum SerialError | |
: IComparable, IFormattable, IConvertible | |
{ TXFull, RXOver, Overrun, RXParity, Frame } |
public class SerialErrorReceivedEventArgs | |
: EventArgs | |
public SerialError EventType { get; } |
public sealed class SerialErrorReceivedEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual IAsyncResult BeginInvoke(Object sender, SerialErrorReceivedEventArgs e, AsyncCallback callback, Object object); | |
public virtual void EndInvoke(IAsyncResult result); | |
public virtual void Invoke(Object sender, SerialErrorReceivedEventArgs e); |
public sealed enum SerialPinChange | |
: IComparable, IFormattable, IConvertible | |
{ CtsChanged, DsrChanged, CDChanged, Ring, Break } |
public class SerialPinChangedEventArgs | |
: EventArgs | |
public SerialPinChange EventType { get; } |
public sealed class SerialPinChangedEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual IAsyncResult BeginInvoke(Object sender, SerialPinChangedEventArgs e, AsyncCallback callback, Object object); | |
public virtual void EndInvoke(IAsyncResult result); | |
public virtual void Invoke(Object sender, SerialPinChangedEventArgs e); |
public class SerialPort | |
: Component, IComponent, IDisposable | |
public Stream BaseStream { get; } | |
public Int32 BaudRate { get; set; } | |
public Boolean BreakState { get; set; } | |
public Int32 BytesToRead { get; } | |
public Int32 BytesToWrite { get; } | |
public Boolean CDHolding { get; } | |
public Boolean CtsHolding { get; } | |
public Int32 DataBits { get; set; } | |
public Boolean DiscardNull { get; set; } | |
public Boolean DsrHolding { get; } | |
public Boolean DtrEnable { get; set; } | |
public Encoding Encoding { get; set; } | |
public Handshake Handshake { get; set; } | |
public Boolean IsOpen { get; } | |
public String NewLine { get; set; } | |
public Parity Parity { get; set; } | |
public Byte ParityReplace { get; set; } | |
public String PortName { get; set; } | |
public Int32 ReadBufferSize { get; set; } | |
public Int32 ReadTimeout { get; set; } | |
public Int32 ReceivedBytesThreshold { get; set; } | |
public Boolean RtsEnable { get; set; } | |
public StopBits StopBits { get; set; } | |
public Int32 WriteBufferSize { get; set; } | |
public Int32 WriteTimeout { get; set; } | |
public event SerialDataReceivedEventHandler DataReceived; | |
public event SerialErrorReceivedEventHandler ErrorReceived; | |
public event SerialPinChangedEventHandler PinChanged; | |
public void Close(); | |
public void DiscardInBuffer(); | |
public void DiscardOutBuffer(); | |
protected virtual void Dispose(Boolean disposing); | |
static public String GetPortNames(); | |
public void Open(); | |
public Int32 Read(Byte buffer, Int32 offset, Int32 count); | |
public Int32 Read(Char buffer, Int32 offset, Int32 count); | |
public Int32 ReadByte(); | |
public Int32 ReadChar(); | |
public String ReadExisting(); | |
public String ReadLine(); | |
public String ReadTo(String value); | |
public void Write(String text); | |
public void Write(Char buffer, Int32 offset, Int32 count); | |
public void Write(Byte buffer, Int32 offset, Int32 count); | |
public void WriteLine(String text); |
public sealed enum StopBits | |
: IComparable, IFormattable, IConvertible | |
{ None, One, Two, OnePointFive } |