Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Vector3DConverter.cs
- WebChannelFactory.cs
- EnumerableRowCollectionExtensions.cs
- TraceSection.cs
- LinqDataSource.cs
- FontNameEditor.cs
- DbFunctionCommandTree.cs
- DataGridViewComboBoxColumn.cs
- OutputChannelBinder.cs
- WindowsToolbar.cs
- InternalBufferOverflowException.cs
- AliasedSlot.cs
- DSASignatureDeformatter.cs
- PrivilegedConfigurationManager.cs
- NodeLabelEditEvent.cs
- DependencyPropertyDescriptor.cs
- DesignRelation.cs
- SecurityResources.cs
- MetadataProperty.cs
- SymLanguageType.cs
- WindowHideOrCloseTracker.cs
- OneOfElement.cs
- PrePrepareMethodAttribute.cs
- StylusDownEventArgs.cs
- Rotation3D.cs
- PageTheme.cs
- LinqDataSourceEditData.cs
- SqlConnectionFactory.cs
- ExternalException.cs
- XPathCompiler.cs
- IfAction.cs
- TablePattern.cs
- JsonQNameDataContract.cs
- Utility.cs
- WebSysDescriptionAttribute.cs
- CryptoKeySecurity.cs
- GridPattern.cs
- ConfigXmlReader.cs
- AgileSafeNativeMemoryHandle.cs
- KeyInstance.cs
- MetadataProperty.cs
- UdpMessageProperty.cs
- AutoResizedEvent.cs
- StreamUpdate.cs
- xmlfixedPageInfo.cs
- InstanceDataCollection.cs
- ActivationArguments.cs
- CoTaskMemHandle.cs
- PropertyPathConverter.cs
- DrawingContextDrawingContextWalker.cs
- HMACSHA384.cs
- RegexCaptureCollection.cs
- RijndaelCryptoServiceProvider.cs
- ObjectQueryProvider.cs
- ScrollChrome.cs
- AxImporter.cs
- DataControlButton.cs
- ThumbButtonInfo.cs
- IIS7WorkerRequest.cs
- HashCodeCombiner.cs
- VersionedStreamOwner.cs
- ParserOptions.cs
- CallbackValidatorAttribute.cs
- altserialization.cs
- storepermissionattribute.cs
- CssTextWriter.cs
- CreateUserWizard.cs
- tibetanshape.cs
- printdlgexmarshaler.cs
- StructuralObject.cs
- SoapIgnoreAttribute.cs
- WindowsTreeView.cs
- HttpCacheParams.cs
- FormViewInsertEventArgs.cs
- RepeaterItemCollection.cs
- DesignerSerializationOptionsAttribute.cs
- SqlClientWrapperSmiStream.cs
- Message.cs
- _Win32.cs
- XmlParser.cs
- RemoteWebConfigurationHost.cs
- Rijndael.cs
- VectorCollectionValueSerializer.cs
- SchemaImporterExtensionElement.cs
- Memoizer.cs
- LocalizableResourceBuilder.cs
- PresentationTraceSources.cs
- MailHeaderInfo.cs
- PatternMatcher.cs
- TdsEnums.cs
- WindowsPrincipal.cs
- TextModifierScope.cs
- DataGridViewImageColumn.cs
- HtmlFormParameterReader.cs
- BulletedList.cs
- _LoggingObject.cs
- EventLevel.cs
- Stroke.cs
- SelectionProcessor.cs
- XmlSecureResolver.cs