Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / IO / Ports / SerialErrors.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DispatchChannelSink.cs
- BrowserCapabilitiesCompiler.cs
- HandledMouseEvent.cs
- RegexFCD.cs
- SiteIdentityPermission.cs
- NavigationProgressEventArgs.cs
- ClientTargetSection.cs
- AssemblyAttributes.cs
- ContainerTracking.cs
- DropDownButton.cs
- ExpressionSelection.cs
- QilLoop.cs
- ProfileParameter.cs
- SqlUdtInfo.cs
- EtwTrace.cs
- BaseProcessProtocolHandler.cs
- TextView.cs
- typedescriptorpermissionattribute.cs
- PieceDirectory.cs
- Icon.cs
- IMembershipProvider.cs
- LinkedList.cs
- NavigationFailedEventArgs.cs
- odbcmetadatafactory.cs
- GeneralTransform3D.cs
- GraphicsPathIterator.cs
- ListItemViewAttribute.cs
- SystemIPAddressInformation.cs
- EnvironmentPermission.cs
- GridViewCancelEditEventArgs.cs
- StylesEditorDialog.cs
- DeclaredTypeValidator.cs
- SafeNativeMethods.cs
- DbParameterCollectionHelper.cs
- Lock.cs
- Gdiplus.cs
- adornercollection.cs
- WebServiceEnumData.cs
- SettingsProviderCollection.cs
- StickyNoteContentControl.cs
- UIElement.cs
- _SecureChannel.cs
- CompositeFontInfo.cs
- IgnoreDeviceFilterElement.cs
- ComponentResourceKeyConverter.cs
- IndexedEnumerable.cs
- ColumnWidthChangingEvent.cs
- PropertyReferenceSerializer.cs
- ErrorsHelper.cs
- BaseValidator.cs
- _FtpControlStream.cs
- ToolStripSplitStackLayout.cs
- TemplateBindingExtension.cs
- TransportationConfigurationTypeInstallComponent.cs
- HtmlTableCell.cs
- SimpleHandlerFactory.cs
- UpdateCommandGenerator.cs
- TraceSource.cs
- SymbolType.cs
- ConsumerConnectionPoint.cs
- StrokeCollectionConverter.cs
- AssemblyAssociatedContentFileAttribute.cs
- backend.cs
- QueryStringParameter.cs
- TrackBar.cs
- BlurEffect.cs
- DataGridViewCellValidatingEventArgs.cs
- PropertyMap.cs
- BitmapEncoder.cs
- GridViewItemAutomationPeer.cs
- InvocationExpression.cs
- URI.cs
- InstanceDescriptor.cs
- ColumnMapTranslator.cs
- BooleanAnimationBase.cs
- TemplateBuilder.cs
- XmlQualifiedName.cs
- GridViewDeleteEventArgs.cs
- CreateParams.cs
- AccessedThroughPropertyAttribute.cs
- XmlWrappingWriter.cs
- IntranetCredentialPolicy.cs
- ListenerConstants.cs
- FieldNameLookup.cs
- MasterPageCodeDomTreeGenerator.cs
- PinnedBufferMemoryStream.cs
- Menu.cs
- DataGridViewRow.cs
- WebPartDeleteVerb.cs
- ComplexLine.cs
- PointAnimationUsingKeyFrames.cs
- DynamicAttribute.cs
- NodeCounter.cs
- BaseEntityWrapper.cs
- CssClassPropertyAttribute.cs
- GlobalizationAssembly.cs
- SqlDataSourceView.cs
- _NativeSSPI.cs
- ListViewEditEventArgs.cs
- NGCSerializationManagerAsync.cs