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
- PageCache.cs
- Size3D.cs
- DiagnosticsConfigurationHandler.cs
- ISAPIRuntime.cs
- DataRowChangeEvent.cs
- HttpProcessUtility.cs
- LinkedList.cs
- TextLineBreak.cs
- XmlNamedNodeMap.cs
- ButtonBaseAutomationPeer.cs
- LazyTextWriterCreator.cs
- CustomErrorCollection.cs
- FileDetails.cs
- ExpressionBuilderContext.cs
- CodeAttributeArgument.cs
- XamlTypeMapper.cs
- BindingExpressionBase.cs
- AudioFormatConverter.cs
- CssClassPropertyAttribute.cs
- IndependentAnimationStorage.cs
- ExpressionBindings.cs
- WindowsFormsHost.cs
- WindowsListViewItemStartMenu.cs
- IntSecurity.cs
- PerformanceCounterManager.cs
- DocumentPageView.cs
- TextBoxBase.cs
- Pair.cs
- NativeMethods.cs
- SettingsAttributeDictionary.cs
- FixedSOMElement.cs
- mediaeventargs.cs
- HwndSourceParameters.cs
- ToolStripItemClickedEventArgs.cs
- OAVariantLib.cs
- StyleTypedPropertyAttribute.cs
- DataSourceDesigner.cs
- EventLogQuery.cs
- XmlImplementation.cs
- ArrayMergeHelper.cs
- ParameterDataSourceExpression.cs
- InternalConfigHost.cs
- PartialCachingControl.cs
- TableItemPatternIdentifiers.cs
- CqlBlock.cs
- ServerValidateEventArgs.cs
- TranslateTransform3D.cs
- ButtonStandardAdapter.cs
- IsolatedStoragePermission.cs
- WebPartConnectionsEventArgs.cs
- SessionEndingEventArgs.cs
- __ConsoleStream.cs
- __ComObject.cs
- PrivacyNoticeBindingElement.cs
- SplitContainer.cs
- PrinterUnitConvert.cs
- OptimisticConcurrencyException.cs
- ControlBindingsCollection.cs
- ApplicationTrust.cs
- MultipleViewProviderWrapper.cs
- SchemaComplexType.cs
- assertwrapper.cs
- XmlSecureResolver.cs
- DataReaderContainer.cs
- GridViewSortEventArgs.cs
- DetailsViewPagerRow.cs
- TextBreakpoint.cs
- XPathExpr.cs
- SignerInfo.cs
- PartitionerStatic.cs
- Int32Storage.cs
- CheckBoxFlatAdapter.cs
- CompositeDataBoundControl.cs
- CodeNamespace.cs
- EventWaitHandleSecurity.cs
- ProcessModelInfo.cs
- CollectionViewProxy.cs
- Region.cs
- ComponentEditorForm.cs
- WriterOutput.cs
- RangeValuePatternIdentifiers.cs
- InfiniteIntConverter.cs
- SessionStateSection.cs
- XPathArrayIterator.cs
- StateMachine.cs
- MachineKeySection.cs
- DataReceivedEventArgs.cs
- SqlExpressionNullability.cs
- RtfControls.cs
- recordstatefactory.cs
- DataServiceRequest.cs
- CryptoKeySecurity.cs
- EmptyElement.cs
- WindowsListViewGroupHelper.cs
- ProcessHostFactoryHelper.cs
- TextServicesProperty.cs
- ELinqQueryState.cs
- BindingCollection.cs
- IIS7UserPrincipal.cs
- ClientSettingsSection.cs