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
- TraceHandlerErrorFormatter.cs
- Fx.cs
- GenericIdentity.cs
- MenuBindingsEditorForm.cs
- Path.cs
- ServiceOperation.cs
- MemoryFailPoint.cs
- DocumentViewer.cs
- SwitchLevelAttribute.cs
- DetailsViewInsertedEventArgs.cs
- DownloadProgressEventArgs.cs
- SqlCaseSimplifier.cs
- DataBinder.cs
- Point4D.cs
- ExitEventArgs.cs
- PersonalizableAttribute.cs
- XmlStringTable.cs
- ObjectSelectorEditor.cs
- ResolvedKeyFrameEntry.cs
- HitTestParameters3D.cs
- AtomicFile.cs
- GreaterThanOrEqual.cs
- XPathScanner.cs
- SystemFonts.cs
- PeerToPeerException.cs
- FormattedTextSymbols.cs
- ConnectionManagementElement.cs
- ControlType.cs
- ExecutionProperties.cs
- InstalledVoice.cs
- JoinSymbol.cs
- XMLUtil.cs
- RelativeSource.cs
- CodeAttributeDeclarationCollection.cs
- PropertySourceInfo.cs
- HtmlTableCellCollection.cs
- DispatcherFrame.cs
- XmlSchemaAttributeGroupRef.cs
- UIElement.cs
- OverlappedAsyncResult.cs
- DoubleCollectionValueSerializer.cs
- ObjectStateFormatter.cs
- DescendantOverDescendantQuery.cs
- NavigationCommands.cs
- AppliesToBehaviorDecisionTable.cs
- MarginCollapsingState.cs
- FontFamilyValueSerializer.cs
- DataGridViewButtonColumn.cs
- Rotation3DAnimation.cs
- NativeMethodsCLR.cs
- ValidationSummary.cs
- MultipleViewPattern.cs
- ConstructorExpr.cs
- AsyncContentLoadedEventArgs.cs
- RunClient.cs
- AnimationClock.cs
- ToolStripDesignerAvailabilityAttribute.cs
- PromptBuilder.cs
- PerspectiveCamera.cs
- Hyperlink.cs
- IResourceProvider.cs
- ClientScriptItemCollection.cs
- Oci.cs
- HttpServerVarsCollection.cs
- IDispatchConstantAttribute.cs
- PolyLineSegmentFigureLogic.cs
- EditorZone.cs
- WindowsContainer.cs
- UnsafeNativeMethodsPenimc.cs
- DataContract.cs
- DrawingContextDrawingContextWalker.cs
- DataGridViewRowConverter.cs
- SqlVersion.cs
- DataConnectionHelper.cs
- SmiContextFactory.cs
- SafeWaitHandle.cs
- BitmapEffectInputConnector.cs
- MgmtConfigurationRecord.cs
- SHA512Managed.cs
- PersistenceProvider.cs
- SoapMessage.cs
- FrameworkElementFactory.cs
- TemplatePartAttribute.cs
- RemoteX509Token.cs
- TypeElement.cs
- UnicastIPAddressInformationCollection.cs
- Rfc2898DeriveBytes.cs
- QueryParameter.cs
- OdbcDataReader.cs
- CounterCreationData.cs
- ApplicationContext.cs
- LinearGradientBrush.cs
- IpcManager.cs
- DbProviderFactories.cs
- DesignerView.cs
- EnterpriseServicesHelper.cs
- PropertyRef.cs
- SqlExpander.cs
- SocketInformation.cs
- ScalarOps.cs