Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CrossSiteScriptingValidation.cs
- TcpConnectionPoolSettings.cs
- InstanceStoreQueryResult.cs
- StylusTouchDevice.cs
- ControlValuePropertyAttribute.cs
- WebBrowserHelper.cs
- CrossSiteScriptingValidation.cs
- ExtractedStateEntry.cs
- CommonRemoteMemoryBlock.cs
- _CommandStream.cs
- HtmlContainerControl.cs
- HtmlButton.cs
- LayoutManager.cs
- ImpersonationOption.cs
- DbModificationCommandTree.cs
- TextEvent.cs
- XmlQueryRuntime.cs
- NextPreviousPagerField.cs
- TypeSource.cs
- WmfPlaceableFileHeader.cs
- RuntimeEnvironment.cs
- SimpleBitVector32.cs
- SqlRowUpdatedEvent.cs
- ContractsBCL.cs
- ConstructorNeedsTagAttribute.cs
- XmlIgnoreAttribute.cs
- XsltContext.cs
- Decimal.cs
- EnglishPluralizationService.cs
- WpfPayload.cs
- Validator.cs
- SafeNativeMethods.cs
- DecoderExceptionFallback.cs
- InputQueue.cs
- QueryCacheKey.cs
- GlyphRunDrawing.cs
- Privilege.cs
- RequestQueryParser.cs
- DecoderBestFitFallback.cs
- InvalidCommandTreeException.cs
- ISessionStateStore.cs
- TextRangeBase.cs
- FontStyles.cs
- AdCreatedEventArgs.cs
- NumberFormatInfo.cs
- WindowsListViewGroupSubsetLink.cs
- RightsManagementInformation.cs
- MediaScriptCommandRoutedEventArgs.cs
- XmlNodeReader.cs
- FixedSOMFixedBlock.cs
- ContextActivityUtils.cs
- OleDbConnectionInternal.cs
- ConfigurationLoader.cs
- SerializationHelper.cs
- DataGridHeaderBorder.cs
- ISAPIRuntime.cs
- UnmanagedMemoryStreamWrapper.cs
- SelectionProviderWrapper.cs
- XmlRawWriterWrapper.cs
- ScriptControl.cs
- AssemblyUtil.cs
- __FastResourceComparer.cs
- Button.cs
- DispatcherObject.cs
- XPathNavigatorKeyComparer.cs
- ScriptingSectionGroup.cs
- EDesignUtil.cs
- SchemaElementDecl.cs
- XmlSignatureManifest.cs
- SettingsPropertyNotFoundException.cs
- ArrayHelper.cs
- CodeAccessSecurityEngine.cs
- _AutoWebProxyScriptEngine.cs
- HttpWriter.cs
- StorageConditionPropertyMapping.cs
- InvokeSchedule.cs
- FontSource.cs
- ComplexType.cs
- ZoneLinkButton.cs
- VisualTreeHelper.cs
- SqlClientWrapperSmiStreamChars.cs
- ContentWrapperAttribute.cs
- ControlAdapter.cs
- BitmapFrameEncode.cs
- HttpHandlersSection.cs
- SEHException.cs
- TextServicesPropertyRanges.cs
- _NetRes.cs
- VectorAnimationUsingKeyFrames.cs
- SqlGatherConsumedAliases.cs
- FirstMatchCodeGroup.cs
- FontStretchConverter.cs
- TypeHelpers.cs
- MemoryPressure.cs
- _NestedSingleAsyncResult.cs
- QilGeneratorEnv.cs
- Automation.cs
- FileUtil.cs
- Properties.cs
- Light.cs