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
- _PooledStream.cs
- PenThreadWorker.cs
- VisualStates.cs
- BypassElementCollection.cs
- RelatedEnd.cs
- Bold.cs
- PeerCollaboration.cs
- LinqDataSourceContextEventArgs.cs
- wgx_sdk_version.cs
- Operand.cs
- InternalConfigSettingsFactory.cs
- ExcCanonicalXml.cs
- ADConnectionHelper.cs
- InvalidTimeZoneException.cs
- SqlFacetAttribute.cs
- MeshGeometry3D.cs
- CharConverter.cs
- InternalControlCollection.cs
- XslVisitor.cs
- XmlBindingWorker.cs
- DES.cs
- FamilyCollection.cs
- KeyFrames.cs
- InstanceData.cs
- LassoSelectionBehavior.cs
- VectorConverter.cs
- DescendantQuery.cs
- EntityTypeEmitter.cs
- PolicyLevel.cs
- StateMachineSubscriptionManager.cs
- IisTraceListener.cs
- ResourceDisplayNameAttribute.cs
- StyleReferenceConverter.cs
- CombinedGeometry.cs
- DbConnectionPoolOptions.cs
- GeneratedContractType.cs
- RunWorkerCompletedEventArgs.cs
- DataPagerFieldItem.cs
- HttpHandlersSection.cs
- KeyedCollection.cs
- MetadataException.cs
- ProfileModule.cs
- CursorConverter.cs
- SystemIcmpV4Statistics.cs
- TraceContextRecord.cs
- GraphicsContext.cs
- WindowsSecurityTokenAuthenticator.cs
- TraceHandler.cs
- DateTimeConverter.cs
- ObjectMaterializedEventArgs.cs
- ServiceReference.cs
- DbConnectionPoolCounters.cs
- DNS.cs
- Image.cs
- WebPartMenu.cs
- ApplicationDirectory.cs
- RegionData.cs
- Duration.cs
- arclist.cs
- MergeLocalizationDirectives.cs
- UiaCoreTypesApi.cs
- ToolStripMenuItemCodeDomSerializer.cs
- Polyline.cs
- CompareValidator.cs
- FontDriver.cs
- AstTree.cs
- OleDbException.cs
- ResXDataNode.cs
- DataSpaceManager.cs
- XmlAttributeAttribute.cs
- DeviceContext.cs
- AutomationElement.cs
- Point3DConverter.cs
- FrameworkRichTextComposition.cs
- XmlLinkedNode.cs
- WSHttpTransportSecurityElement.cs
- RoleGroup.cs
- Queue.cs
- SpecialFolderEnumConverter.cs
- BreakSafeBase.cs
- DataGridViewDataConnection.cs
- ObjectDataSourceStatusEventArgs.cs
- DuplexSecurityProtocolFactory.cs
- BindingValueChangedEventArgs.cs
- SqlCommandBuilder.cs
- SqlLiftWhereClauses.cs
- RunInstallerAttribute.cs
- ThousandthOfEmRealPoints.cs
- FixedHighlight.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- FontFamily.cs
- ToolStripDesignerUtils.cs
- EncryptedKey.cs
- QilPatternVisitor.cs
- DoubleCollection.cs
- MissingFieldException.cs
- RootBrowserWindowProxy.cs
- HtmlInputPassword.cs
- SerializerDescriptor.cs
- KeysConverter.cs