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
- ConnectionsZone.cs
- MenuItemBindingCollection.cs
- CodeDomDecompiler.cs
- StrokeIntersection.cs
- CoTaskMemHandle.cs
- AsymmetricCryptoHandle.cs
- DbConnectionPoolIdentity.cs
- HtmlInputHidden.cs
- EditorPartChrome.cs
- OracleInfoMessageEventArgs.cs
- MarkupObject.cs
- ServiceNameCollection.cs
- SignatureDescription.cs
- ServiceBehaviorElementCollection.cs
- CreateDataSourceDialog.cs
- SymmetricKey.cs
- ListDependantCardsRequest.cs
- CharacterString.cs
- FontInfo.cs
- TextServicesCompartment.cs
- RegisteredScript.cs
- NetSectionGroup.cs
- ExpressionLexer.cs
- PropertyDescriptor.cs
- CellTreeSimplifier.cs
- FeatureManager.cs
- Content.cs
- RC2.cs
- x509utils.cs
- DesignTimeParseData.cs
- ConnectionAcceptor.cs
- OletxCommittableTransaction.cs
- CursorEditor.cs
- MessageQueueConverter.cs
- EnvironmentPermission.cs
- XmlComment.cs
- ValidationErrorCollection.cs
- DynamicObject.cs
- XPathArrayIterator.cs
- DataListCommandEventArgs.cs
- LinqDataSourceInsertEventArgs.cs
- XmlSchemaExternal.cs
- UInt32.cs
- MimeObjectFactory.cs
- Compress.cs
- ObjectListComponentEditor.cs
- ViewCellRelation.cs
- IODescriptionAttribute.cs
- RemoteWebConfigurationHostStream.cs
- DesignTimeValidationFeature.cs
- ValueChangedEventManager.cs
- RadioButtonRenderer.cs
- OptimizerPatterns.cs
- IISMapPath.cs
- ExtendedTransformFactory.cs
- XmlStringTable.cs
- ImageDesigner.cs
- StrokeNodeOperations.cs
- PropertyDescriptorComparer.cs
- ExpressionNode.cs
- WindowsFormsDesignerOptionService.cs
- CustomAttribute.cs
- NumberFunctions.cs
- MessageHeaderInfoTraceRecord.cs
- CodeValidator.cs
- JsonCollectionDataContract.cs
- MemoryFailPoint.cs
- HostExecutionContextManager.cs
- WebPartConnectionsDisconnectVerb.cs
- MetadataSerializer.cs
- XPathParser.cs
- HyperLink.cs
- StateMachine.cs
- SpellerStatusTable.cs
- SmiXetterAccessMap.cs
- CodeTypeDeclaration.cs
- LinqDataSource.cs
- TabRenderer.cs
- ResourceCodeDomSerializer.cs
- SqlCacheDependency.cs
- NTAccount.cs
- NonceCache.cs
- RSAProtectedConfigurationProvider.cs
- VScrollBar.cs
- UrlRoutingModule.cs
- DataSourceGeneratorException.cs
- DLinqDataModelProvider.cs
- ContextMenu.cs
- DefaultSection.cs
- RTTrackingProfile.cs
- QueryBranchOp.cs
- xmlsaver.cs
- InlineObject.cs
- LineGeometry.cs
- GeometryCombineModeValidation.cs
- StandardToolWindows.cs
- HTMLTagNameToTypeMapper.cs
- XmlNamespaceMappingCollection.cs
- UdpTransportBindingElement.cs
- DataGrid.cs