Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EndpointDispatcherTable.cs
- ObjectContext.cs
- PropertyNames.cs
- WebPartZone.cs
- ScriptingRoleServiceSection.cs
- Vector3DCollectionValueSerializer.cs
- TimeStampChecker.cs
- RelationshipSet.cs
- LambdaCompiler.Expressions.cs
- NamespaceCollection.cs
- GetChildSubtree.cs
- WebPartDisplayModeEventArgs.cs
- ExecutedRoutedEventArgs.cs
- Transform3D.cs
- MobileUserControlDesigner.cs
- SubstitutionList.cs
- SchemaTypeEmitter.cs
- CodeTypeDeclarationCollection.cs
- UInt64.cs
- X509Certificate2Collection.cs
- Walker.cs
- OdbcConnectionFactory.cs
- BatchWriter.cs
- BitVector32.cs
- Material.cs
- Viewport3DAutomationPeer.cs
- XmlSchemaFacet.cs
- IntSecurity.cs
- CompilationUtil.cs
- FixedSOMSemanticBox.cs
- TabPage.cs
- Context.cs
- UrlPath.cs
- Translator.cs
- SystemWebSectionGroup.cs
- ImageAttributes.cs
- ConsoleCancelEventArgs.cs
- __Filters.cs
- OutputCacheSettingsSection.cs
- ColorBuilder.cs
- ZoneIdentityPermission.cs
- SessionStateSection.cs
- TextRunProperties.cs
- JulianCalendar.cs
- CodeAttributeDeclarationCollection.cs
- TextDecorations.cs
- Dynamic.cs
- ClientSession.cs
- querybuilder.cs
- TypeSystemHelpers.cs
- TextServicesProperty.cs
- IntegrationExceptionEventArgs.cs
- TransformerTypeCollection.cs
- cookie.cs
- PagerSettings.cs
- PerfCounters.cs
- MachineKeyConverter.cs
- TextEndOfSegment.cs
- WebPartDisplayModeCollection.cs
- PackageDigitalSignature.cs
- TagPrefixInfo.cs
- LinkTarget.cs
- DispatcherHooks.cs
- CodeGeneratorOptions.cs
- StylusPointPropertyUnit.cs
- AttributeCollection.cs
- HtmlControlPersistable.cs
- ProfileServiceManager.cs
- ListItemCollection.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- GlyphRunDrawing.cs
- PermissionSet.cs
- JournalEntry.cs
- XmlSchemaSequence.cs
- XmlSerializerObjectSerializer.cs
- DecimalConstantAttribute.cs
- MultiView.cs
- UnsafeNativeMethodsTablet.cs
- SetterTriggerConditionValueConverter.cs
- DataGridViewAccessibleObject.cs
- InputProviderSite.cs
- TabItemAutomationPeer.cs
- ExpressionStringBuilder.cs
- SafeBitVector32.cs
- SerializationFieldInfo.cs
- DesignerForm.cs
- ServiceHttpHandlerFactory.cs
- SpellerError.cs
- StylusPoint.cs
- DisplayInformation.cs
- BitStack.cs
- ComponentEditorForm.cs
- EntityDataSourceConfigureObjectContext.cs
- SafeNativeMethods.cs
- TextChange.cs
- DynamicControlParameter.cs
- StringArrayConverter.cs
- SystemIcons.cs
- DeviceContexts.cs
- MailWebEventProvider.cs