Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Sys / System / IO / Ports / SerialErrors.cs / 1 / SerialErrors.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Type: SerialError ** ** Purpose: Describes the types of serial port errors. ** ** Date: August 2002 ** ** ===========================================================*/ using Microsoft.Win32; namespace System.IO.Ports { public enum SerialError { TXFull = NativeMethods.CE_TXFULL, RXOver = NativeMethods.CE_RXOVER, Overrun = NativeMethods.CE_OVERRUN, RXParity = NativeMethods.CE_PARITY, Frame = NativeMethods.CE_FRAME, } public class SerialErrorReceivedEventArgs : EventArgs { private SerialError errorType; internal SerialErrorReceivedEventArgs(SerialError eventCode) { errorType = eventCode; } public SerialError EventType { get { return errorType; } } } public delegate void SerialErrorReceivedEventHandler(object sender, SerialErrorReceivedEventArgs e); } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Type: SerialError ** ** Purpose: Describes the types of serial port errors. ** ** Date: August 2002 ** ** ===========================================================*/ using Microsoft.Win32; namespace System.IO.Ports { public enum SerialError { TXFull = NativeMethods.CE_TXFULL, RXOver = NativeMethods.CE_RXOVER, Overrun = NativeMethods.CE_OVERRUN, RXParity = NativeMethods.CE_PARITY, Frame = NativeMethods.CE_FRAME, } public class SerialErrorReceivedEventArgs : EventArgs { private SerialError errorType; internal SerialErrorReceivedEventArgs(SerialError eventCode) { errorType = eventCode; } public SerialError EventType { get { return errorType; } } } public delegate void SerialErrorReceivedEventHandler(object sender, SerialErrorReceivedEventArgs e); } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsGraphics2.cs
- IncrementalReadDecoders.cs
- SqlGatherProducedAliases.cs
- ReaderWriterLockWrapper.cs
- StringArrayConverter.cs
- Sequence.cs
- HyperLinkColumn.cs
- FacetChecker.cs
- ReflectionUtil.cs
- HelpInfo.cs
- SoapEnumAttribute.cs
- RepeatButton.cs
- UnmanagedMarshal.cs
- IOThreadTimer.cs
- SQLGuid.cs
- InvokeBase.cs
- ReadOnlyDataSource.cs
- CopyNamespacesAction.cs
- QueryCreatedEventArgs.cs
- ExcludeFromCodeCoverageAttribute.cs
- SHA256.cs
- XmlNodeChangedEventManager.cs
- DataStreamFromComStream.cs
- ParagraphResult.cs
- HtmlInputText.cs
- EventLogEntry.cs
- Line.cs
- Schedule.cs
- GestureRecognizer.cs
- MultilineStringConverter.cs
- EntityContainerEmitter.cs
- SystemMulticastIPAddressInformation.cs
- InvokeMethodActivityDesigner.cs
- DataServiceHostFactory.cs
- TextEffect.cs
- documentation.cs
- PropertyMetadata.cs
- LoadedOrUnloadedOperation.cs
- DataBoundControlHelper.cs
- ToolTipAutomationPeer.cs
- FocusWithinProperty.cs
- JsonUriDataContract.cs
- DesignTimeVisibleAttribute.cs
- MarkupWriter.cs
- EndpointDiscoveryElement.cs
- XmlSchemaExternal.cs
- EditorZoneBase.cs
- LinkLabelLinkClickedEvent.cs
- Pick.cs
- BypassElement.cs
- EditorZoneAutoFormat.cs
- TransformCollection.cs
- EventDescriptor.cs
- DataColumnPropertyDescriptor.cs
- EntityDataSourceDesignerHelper.cs
- UriParserTemplates.cs
- Flowchart.cs
- HtmlInputReset.cs
- TranslateTransform3D.cs
- PanelStyle.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- SmiMetaDataProperty.cs
- WindowsTooltip.cs
- _Events.cs
- InheritanceContextChangedEventManager.cs
- NoneExcludedImageIndexConverter.cs
- StreamingContext.cs
- FactoryGenerator.cs
- LabelLiteral.cs
- EventManager.cs
- PolicyException.cs
- ListViewItemSelectionChangedEvent.cs
- Button.cs
- XMLDiffLoader.cs
- StrokeNodeOperations.cs
- PeerCredentialElement.cs
- InstanceData.cs
- RangeBaseAutomationPeer.cs
- FileChangesMonitor.cs
- RC2CryptoServiceProvider.cs
- ButtonFlatAdapter.cs
- JsonFaultDetail.cs
- BehaviorEditorPart.cs
- XmlFileEditor.cs
- LocatorPart.cs
- WebBrowserHelper.cs
- XmlNodeReader.cs
- KeyToListMap.cs
- WebPartEditorCancelVerb.cs
- LayoutEditorPart.cs
- RequestQueryProcessor.cs
- SemaphoreSecurity.cs
- DigestComparer.cs
- SqlCharStream.cs
- FtpCachePolicyElement.cs
- SecurityContext.cs
- AndMessageFilterTable.cs
- BufferBuilder.cs
- WebDescriptionAttribute.cs
- ADConnectionHelper.cs