Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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); }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StateItem.cs
- XmlHierarchyData.cs
- GestureRecognizer.cs
- RootNamespaceAttribute.cs
- TemplateBuilder.cs
- ObjectItemLoadingSessionData.cs
- DbBuffer.cs
- MSG.cs
- RequestCachingSection.cs
- URLAttribute.cs
- WebConfigurationHostFileChange.cs
- VirtualStackFrame.cs
- ContractComponent.cs
- RegistryKey.cs
- _BasicClient.cs
- WindowsListViewItem.cs
- IndentedTextWriter.cs
- OdbcFactory.cs
- RectangleGeometry.cs
- ConstraintEnumerator.cs
- CodeObject.cs
- COSERVERINFO.cs
- FileDialogPermission.cs
- IDQuery.cs
- TemplatingOptionsDialog.cs
- GeneralTransform2DTo3DTo2D.cs
- APCustomTypeDescriptor.cs
- _CookieModule.cs
- SqlDataSourceQuery.cs
- PageCatalogPart.cs
- SmiContext.cs
- ExceptionUtil.cs
- PathStreamGeometryContext.cs
- ContainerParaClient.cs
- WorkflowInstance.cs
- Context.cs
- TypedLocationWrapper.cs
- DataTableMapping.cs
- OpenTypeLayoutCache.cs
- WeakEventTable.cs
- MultiTouchSystemGestureLogic.cs
- XamlSerializationHelper.cs
- ApplicationException.cs
- SQLInt16.cs
- OleAutBinder.cs
- AmbientValueAttribute.cs
- PcmConverter.cs
- EdmItemCollection.OcAssemblyCache.cs
- SamlConstants.cs
- XmlExpressionDumper.cs
- CopyAttributesAction.cs
- XmlElementElementCollection.cs
- CodeDomDesignerLoader.cs
- M3DUtil.cs
- TextRangeSerialization.cs
- LayoutInformation.cs
- RelationshipConstraintValidator.cs
- TextBlock.cs
- RenderingEventArgs.cs
- EventHandlersStore.cs
- WorkflowClientDeliverMessageWrapper.cs
- HealthMonitoringSectionHelper.cs
- ResourceReferenceKeyNotFoundException.cs
- _TransmitFileOverlappedAsyncResult.cs
- GradientStop.cs
- HttpAsyncResult.cs
- PtsHost.cs
- HtmlControl.cs
- ButtonFieldBase.cs
- ContextMenu.cs
- CommandField.cs
- FirstMatchCodeGroup.cs
- OverflowException.cs
- SmiEventStream.cs
- HebrewCalendar.cs
- PropertyGrid.cs
- SQLBinary.cs
- LabelLiteral.cs
- SplineKeyFrames.cs
- HttpWebRequestElement.cs
- UIPropertyMetadata.cs
- SafeNativeMethods.cs
- NativeMethods.cs
- ThreadAttributes.cs
- SimpleHandlerBuildProvider.cs
- ArrayList.cs
- OracleParameterCollection.cs
- SiteMembershipCondition.cs
- DataGridViewBindingCompleteEventArgs.cs
- DuplicateWaitObjectException.cs
- AppDomain.cs
- HtmlValidationSummaryAdapter.cs
- Span.cs
- Knowncolors.cs
- QilXmlWriter.cs
- GradientBrush.cs
- WebResourceUtil.cs
- DataGridViewCellFormattingEventArgs.cs
- xamlnodes.cs
- TitleStyle.cs