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
- DynamicActionMessageFilter.cs
- GridViewRowPresenterBase.cs
- ComProxy.cs
- EncodingTable.cs
- DataObject.cs
- Size3D.cs
- FileChangesMonitor.cs
- _StreamFramer.cs
- safex509handles.cs
- Style.cs
- PasswordDeriveBytes.cs
- DbConnectionStringBuilder.cs
- DoubleStorage.cs
- __FastResourceComparer.cs
- CompiledRegexRunnerFactory.cs
- TraceHandlerErrorFormatter.cs
- HybridCollection.cs
- xmlformatgeneratorstatics.cs
- DbCommandDefinition.cs
- FormsAuthenticationEventArgs.cs
- DbgUtil.cs
- ScriptingProfileServiceSection.cs
- NetworkCredential.cs
- WorkflowPersistenceContext.cs
- PreviewPageInfo.cs
- DefaultSerializationProviderAttribute.cs
- XPathNodeInfoAtom.cs
- ResourceDescriptionAttribute.cs
- SHA384CryptoServiceProvider.cs
- PropertyIDSet.cs
- LicenseException.cs
- WSSecureConversationDec2005.cs
- PageAsyncTaskManager.cs
- OdbcReferenceCollection.cs
- Thread.cs
- DeflateStream.cs
- AsymmetricSignatureDeformatter.cs
- SchemaTypeEmitter.cs
- SemanticAnalyzer.cs
- Triangle.cs
- ConfigurationValidatorAttribute.cs
- StringTraceRecord.cs
- ShaperBuffers.cs
- ChtmlPageAdapter.cs
- KeyboardDevice.cs
- TraceHwndHost.cs
- EventLogPermission.cs
- ProxyGenerator.cs
- SkewTransform.cs
- XmlChoiceIdentifierAttribute.cs
- TextServicesManager.cs
- UndirectedGraph.cs
- DiscoveryClientDocuments.cs
- RbTree.cs
- ObjectItemCollection.cs
- WebBrowser.cs
- Encoder.cs
- ChameleonKey.cs
- EastAsianLunisolarCalendar.cs
- HwndSubclass.cs
- XPathSelectionIterator.cs
- Predicate.cs
- AtomicFile.cs
- ScrollEventArgs.cs
- FormatterServicesNoSerializableCheck.cs
- EditCommandColumn.cs
- GridViewRowCollection.cs
- DocumentPageView.cs
- WorkerRequest.cs
- RowToFieldTransformer.cs
- CustomLineCap.cs
- HtmlObjectListAdapter.cs
- followingsibling.cs
- PopupControlService.cs
- DependencyObject.cs
- ProxyManager.cs
- LineMetrics.cs
- DodSequenceMerge.cs
- PageCodeDomTreeGenerator.cs
- DataSetUtil.cs
- WebBrowserNavigatingEventHandler.cs
- FlowDocumentView.cs
- DataGrid.cs
- PathSegmentCollection.cs
- DirtyTextRange.cs
- ContractMapping.cs
- Vector3D.cs
- PointAnimation.cs
- CultureMapper.cs
- ClassGenerator.cs
- HwndSourceKeyboardInputSite.cs
- TreeViewCancelEvent.cs
- ContainerControlDesigner.cs
- AssemblyCache.cs
- CommandEventArgs.cs
- Gdiplus.cs
- Misc.cs
- ConfigurationStrings.cs
- EventProvider.cs
- Win32KeyboardDevice.cs