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
- TextModifier.cs
- ModelFunction.cs
- BitmapEffectInput.cs
- _LoggingObject.cs
- NotFiniteNumberException.cs
- MatrixAnimationUsingKeyFrames.cs
- StoryFragments.cs
- SwitchElementsCollection.cs
- EdmSchemaError.cs
- TreeNodeCollection.cs
- Point3D.cs
- ClientSession.cs
- DecoderNLS.cs
- InfocardExtendedInformationCollection.cs
- SqlDataAdapter.cs
- PrivilegedConfigurationManager.cs
- TreeNodeBindingCollection.cs
- MenuItem.cs
- DataTableReaderListener.cs
- XmlWriterTraceListener.cs
- CacheAxisQuery.cs
- WeakReferenceEnumerator.cs
- ScrollItemPattern.cs
- EntryIndex.cs
- InputLanguageCollection.cs
- WsdlImporter.cs
- LifetimeServices.cs
- ModifierKeysConverter.cs
- ObjectDataSource.cs
- MonitoringDescriptionAttribute.cs
- NameService.cs
- OutputCacheSection.cs
- PropVariant.cs
- BindingOperations.cs
- UriTemplateDispatchFormatter.cs
- MultiBindingExpression.cs
- LinkedResourceCollection.cs
- PixelShader.cs
- BinaryMethodMessage.cs
- PropertyPathWorker.cs
- CodeDelegateInvokeExpression.cs
- SimpleHandlerBuildProvider.cs
- CompositeKey.cs
- TypedAsyncResult.cs
- precedingquery.cs
- MarshalByRefObject.cs
- CodePageEncoding.cs
- WebServiceData.cs
- PersonalizationState.cs
- MSAAWinEventWrap.cs
- LicenseContext.cs
- SafeArrayTypeMismatchException.cs
- IgnoreDeviceFilterElement.cs
- NoClickablePointException.cs
- ProcessModelSection.cs
- DesignerActionHeaderItem.cs
- CustomSignedXml.cs
- QueryAsyncResult.cs
- SoapHeaders.cs
- XmlDataSourceNodeDescriptor.cs
- SmtpNtlmAuthenticationModule.cs
- TlsnegoTokenProvider.cs
- CheckBox.cs
- TreeView.cs
- SystemIPInterfaceProperties.cs
- FormViewInsertedEventArgs.cs
- StylusPoint.cs
- BookmarkUndoUnit.cs
- SplitterCancelEvent.cs
- PropertyReferenceSerializer.cs
- StyleBamlRecordReader.cs
- BufferBuilder.cs
- AdornerHitTestResult.cs
- HierarchicalDataSourceConverter.cs
- InfoCardSymmetricCrypto.cs
- BitmapEffectGeneralTransform.cs
- ObjectDataSourceFilteringEventArgs.cs
- FontWeights.cs
- XhtmlBasicTextViewAdapter.cs
- PartialCachingAttribute.cs
- AuthorizationRuleCollection.cs
- Button.cs
- HttpListenerElement.cs
- TypeUnloadedException.cs
- IntPtr.cs
- IChannel.cs
- JsonQNameDataContract.cs
- CleanUpVirtualizedItemEventArgs.cs
- ValidateNames.cs
- SmtpReplyReader.cs
- Utils.cs
- TimelineGroup.cs
- TypeViewSchema.cs
- ThaiBuddhistCalendar.cs
- Control.cs
- VisualStates.cs
- CroppedBitmap.cs
- CodeAccessSecurityEngine.cs
- XmlSchemaObject.cs
- ExpressionCopier.cs