Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RangeEnumerable.cs
- VScrollProperties.cs
- SortDescription.cs
- QueryableDataSource.cs
- PropertyStore.cs
- XmlStringTable.cs
- InfiniteTimeSpanConverter.cs
- HostProtectionPermission.cs
- Permission.cs
- XPathParser.cs
- TimelineGroup.cs
- TdsParserSafeHandles.cs
- ReadOnlyTernaryTree.cs
- XmlSerializerObjectSerializer.cs
- ValidatingReaderNodeData.cs
- SqlServer2KCompatibilityCheck.cs
- PlainXmlSerializer.cs
- TableItemPatternIdentifiers.cs
- UIElementCollection.cs
- AutomationPatternInfo.cs
- DataKeyArray.cs
- ComplexLine.cs
- PrivilegeNotHeldException.cs
- ExcCanonicalXml.cs
- WebPartChrome.cs
- TableAutomationPeer.cs
- HijriCalendar.cs
- RequestCache.cs
- SettingsPropertyWrongTypeException.cs
- ValueType.cs
- ToolboxItemFilterAttribute.cs
- BasicCellRelation.cs
- AppDomainResourcePerfCounters.cs
- DataKey.cs
- TaiwanLunisolarCalendar.cs
- FilterableAttribute.cs
- NumericUpDownAcceleration.cs
- CellCreator.cs
- DataGridViewCellEventArgs.cs
- TableCellAutomationPeer.cs
- ByteConverter.cs
- SqlCharStream.cs
- ProxyWebPartManager.cs
- ParseHttpDate.cs
- GridSplitterAutomationPeer.cs
- XdrBuilder.cs
- FontInfo.cs
- PolygonHotSpot.cs
- VBCodeProvider.cs
- MsmqInputChannelBase.cs
- TextEvent.cs
- ScriptResourceDefinition.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ToolStripItemClickedEventArgs.cs
- GenericEnumConverter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ApplicationSecurityManager.cs
- SimpleHandlerBuildProvider.cs
- AlignmentXValidation.cs
- ResourceContainerWrapper.cs
- BamlResourceSerializer.cs
- PerformanceCountersElement.cs
- ItemDragEvent.cs
- PersistenceTask.cs
- UnsafeNativeMethods.cs
- EventProperty.cs
- XmlEncodedRawTextWriter.cs
- OdbcParameterCollection.cs
- SafeSecurityHelper.cs
- EqualityComparer.cs
- PropertyRef.cs
- TreeWalkHelper.cs
- SamlAuthorizationDecisionClaimResource.cs
- Journal.cs
- UiaCoreApi.cs
- ComponentResourceKey.cs
- documentation.cs
- StringExpressionSet.cs
- ListViewTableRow.cs
- PermissionSetEnumerator.cs
- UserControlFileEditor.cs
- WebServiceMethodData.cs
- ResourceExpressionEditorSheet.cs
- HMACMD5.cs
- EntityParameterCollection.cs
- PathFigure.cs
- XPathNodePointer.cs
- KeyboardEventArgs.cs
- CommandLibraryHelper.cs
- SiteMapSection.cs
- HttpApplication.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DeferredBinaryDeserializerExtension.cs
- LinearKeyFrames.cs
- Label.cs
- UserMapPath.cs
- SEHException.cs
- ReadContentAsBinaryHelper.cs
- _SslSessionsCache.cs