Code:
/ 4.0 / 4.0 / 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. // ==++== // // 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
- ITreeGenerator.cs
- KnowledgeBase.cs
- WebBrowserSiteBase.cs
- EnumDataContract.cs
- MsmqIntegrationSecurityMode.cs
- StringConverter.cs
- DataBinder.cs
- SymmetricKeyWrap.cs
- SerializationSectionGroup.cs
- ObjectQueryState.cs
- DependencyObject.cs
- PrinterResolution.cs
- ImageSource.cs
- BasePattern.cs
- URLIdentityPermission.cs
- Decimal.cs
- IconHelper.cs
- HierarchicalDataBoundControlAdapter.cs
- HealthMonitoringSection.cs
- EncoderBestFitFallback.cs
- CmsUtils.cs
- WebSysDefaultValueAttribute.cs
- TextPenaltyModule.cs
- GeneralTransform2DTo3DTo2D.cs
- PersistStreamTypeWrapper.cs
- DeobfuscatingStream.cs
- GeometryGroup.cs
- DBAsyncResult.cs
- NegationPusher.cs
- MailWriter.cs
- COM2Properties.cs
- SoapSchemaImporter.cs
- FormViewPagerRow.cs
- DataControlButton.cs
- TabletCollection.cs
- FontUnit.cs
- AsmxEndpointPickerExtension.cs
- DeploymentExceptionMapper.cs
- LabelDesigner.cs
- MenuTracker.cs
- CodeDomLoader.cs
- AutomationProperties.cs
- NonSerializedAttribute.cs
- HtmlCalendarAdapter.cs
- Timeline.cs
- FontFamily.cs
- ExpressionBuilderContext.cs
- WebPartsPersonalization.cs
- ClientConvert.cs
- DataGridItemCollection.cs
- WebBrowser.cs
- EdmError.cs
- SessionStateSection.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- MessageQueuePermission.cs
- DirectoryObjectSecurity.cs
- TypeKeyValue.cs
- PerspectiveCamera.cs
- PartialCachingControl.cs
- BuildProvider.cs
- TextControl.cs
- AssemblyInfo.cs
- _ListenerAsyncResult.cs
- UpdateRecord.cs
- DiscoveryDocumentSerializer.cs
- SecUtil.cs
- ProfilePropertyNameValidator.cs
- ToolBarOverflowPanel.cs
- EventWaitHandleSecurity.cs
- WebZone.cs
- MemoryRecordBuffer.cs
- SqlUserDefinedTypeAttribute.cs
- StateMachineDesignerPaint.cs
- InvalidOperationException.cs
- PersonalizationStateInfoCollection.cs
- SkipQueryOptionExpression.cs
- TraceData.cs
- ModelUIElement3D.cs
- ListParagraph.cs
- connectionpool.cs
- SoapHelper.cs
- ListBox.cs
- SourceFileInfo.cs
- EntitySqlQueryState.cs
- LoginStatusDesigner.cs
- LabelDesigner.cs
- IDReferencePropertyAttribute.cs
- DetailsViewRowCollection.cs
- ExcCanonicalXml.cs
- SmtpReplyReader.cs
- SessionStateModule.cs
- RawAppCommandInputReport.cs
- VirtualizingStackPanel.cs
- unsafenativemethodstextservices.cs
- PackageStore.cs
- SortDescription.cs
- DelegateTypeInfo.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HostingEnvironmentException.cs
- GeneralTransformCollection.cs