Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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); } // 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
- EntityDataSourceWizardForm.cs
- CodeSubDirectory.cs
- Pkcs9Attribute.cs
- CredentialManagerDialog.cs
- TrackingCondition.cs
- EnumerableWrapperWeakToStrong.cs
- BufferAllocator.cs
- XmlSerializer.cs
- CleanUpVirtualizedItemEventArgs.cs
- TextDecorationCollection.cs
- TreeViewImageKeyConverter.cs
- SafeUserTokenHandle.cs
- EventLogEntryCollection.cs
- Journaling.cs
- MapPathBasedVirtualPathProvider.cs
- SqlFunctions.cs
- IRCollection.cs
- TreeNodeCollection.cs
- ListViewHitTestInfo.cs
- InfocardInteractiveChannelInitializer.cs
- Control.cs
- MaskDesignerDialog.cs
- StrokeDescriptor.cs
- ReachDocumentPageSerializerAsync.cs
- ImageMapEventArgs.cs
- DateTimeFormat.cs
- XmlSchemaSimpleTypeList.cs
- DataSourceXmlSerializer.cs
- SqlNodeAnnotation.cs
- CalendarDesigner.cs
- AnchoredBlock.cs
- DataDocumentXPathNavigator.cs
- SchemaMapping.cs
- CompoundFileReference.cs
- DataSourceDesigner.cs
- DesignerVerb.cs
- RegexMatchCollection.cs
- DataGridViewColumnCollection.cs
- DesignerSerializationVisibilityAttribute.cs
- CompilerLocalReference.cs
- EncoderNLS.cs
- DefaultTraceListener.cs
- PrimitiveXmlSerializers.cs
- SelectedGridItemChangedEvent.cs
- WebPartsPersonalizationAuthorization.cs
- Task.cs
- HttpModuleActionCollection.cs
- IndexedGlyphRun.cs
- ModelItemKeyValuePair.cs
- Directory.cs
- TemplateKey.cs
- StopStoryboard.cs
- SymmetricCryptoHandle.cs
- SymbolType.cs
- TimeoutHelper.cs
- SendKeys.cs
- UnknownBitmapEncoder.cs
- ExtendedPropertyDescriptor.cs
- ViewCellRelation.cs
- PenCursorManager.cs
- IgnoreDataMemberAttribute.cs
- WebMessageFormatHelper.cs
- DependencyObjectPropertyDescriptor.cs
- QueryOutputWriterV1.cs
- XmlSubtreeReader.cs
- pingexception.cs
- ApplyImportsAction.cs
- RefreshPropertiesAttribute.cs
- SystemBrushes.cs
- Metafile.cs
- XsltLibrary.cs
- ArrayElementGridEntry.cs
- Int16Storage.cs
- SessionStateUtil.cs
- RouteCollection.cs
- PropertyDescriptorComparer.cs
- ChildrenQuery.cs
- NavigationHelper.cs
- Emitter.cs
- ClientSideProviderDescription.cs
- TextModifier.cs
- RubberbandSelector.cs
- TemplatePropertyEntry.cs
- DockPatternIdentifiers.cs
- UndoEngine.cs
- IISUnsafeMethods.cs
- HtmlGenericControl.cs
- GcHandle.cs
- XPathAxisIterator.cs
- IntPtr.cs
- DocumentGrid.cs
- InfoCardKeyedHashAlgorithm.cs
- Package.cs
- SqlUDTStorage.cs
- SoapFaultCodes.cs
- TextTreeNode.cs
- HostSecurityManager.cs
- TerminatorSinks.cs
- BaseResourcesBuildProvider.cs
- ByteRangeDownloader.cs