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
- ColorConvertedBitmap.cs
- DataGridColumn.cs
- ConnectionManagementSection.cs
- RequiredFieldValidator.cs
- LineGeometry.cs
- CommandEventArgs.cs
- PackagePart.cs
- TextContainer.cs
- XslVisitor.cs
- MessageAction.cs
- OrderedHashRepartitionStream.cs
- AncillaryOps.cs
- SchemaImporterExtensionElementCollection.cs
- ColumnMapVisitor.cs
- ColorKeyFrameCollection.cs
- ReliabilityContractAttribute.cs
- KnownTypesHelper.cs
- MSAAEventDispatcher.cs
- ParseChildrenAsPropertiesAttribute.cs
- QilList.cs
- IdentifierCreationService.cs
- OleDbCommand.cs
- Line.cs
- BaseProcessor.cs
- XmlJsonReader.cs
- MethodAccessException.cs
- BamlResourceDeserializer.cs
- GlyphRunDrawing.cs
- CompilerTypeWithParams.cs
- ServicesUtilities.cs
- FormsAuthenticationModule.cs
- RowToParametersTransformer.cs
- LoginView.cs
- columnmapkeybuilder.cs
- Vector3DAnimationUsingKeyFrames.cs
- XmlWellformedWriter.cs
- UIElement3D.cs
- BridgeDataReader.cs
- ChannelSinkStacks.cs
- GenericTypeParameterConverter.cs
- SettingsSavedEventArgs.cs
- AffineTransform3D.cs
- MergeLocalizationDirectives.cs
- FormViewRow.cs
- FlowchartSizeFeature.cs
- ConfigXmlDocument.cs
- ValidationRuleCollection.cs
- StoreItemCollection.Loader.cs
- EntityConnection.cs
- XmlDictionaryReader.cs
- RecordConverter.cs
- OdbcCommandBuilder.cs
- DBAsyncResult.cs
- FormCollection.cs
- MenuItemStyle.cs
- SizeF.cs
- FacetDescription.cs
- WebPartConnectionCollection.cs
- ConfigurationPropertyAttribute.cs
- QueryRewriter.cs
- ITreeGenerator.cs
- ReversePositionQuery.cs
- PropertyToken.cs
- CultureInfoConverter.cs
- PeerPresenceInfo.cs
- ErrorWrapper.cs
- AsyncDataRequest.cs
- Regex.cs
- validationstate.cs
- SamlAuthorizationDecisionStatement.cs
- DataObjectMethodAttribute.cs
- SectionRecord.cs
- UrlPropertyAttribute.cs
- CompilerErrorCollection.cs
- HtmlElementCollection.cs
- PageAction.cs
- RemotingConfigParser.cs
- EpmSyndicationContentDeSerializer.cs
- UpdateRecord.cs
- PositiveTimeSpanValidator.cs
- CreateParams.cs
- Application.cs
- RectKeyFrameCollection.cs
- LabelEditEvent.cs
- basecomparevalidator.cs
- FontEmbeddingManager.cs
- DuplicateWaitObjectException.cs
- XsdDateTime.cs
- MruCache.cs
- InvokeGenerator.cs
- MarkupWriter.cs
- FamilyMap.cs
- ListView.cs
- HtmlElementEventArgs.cs
- SmiConnection.cs
- AdapterUtil.cs
- FontFaceLayoutInfo.cs
- Serializer.cs
- ControlCachePolicy.cs
- ToolStripDropDownClosingEventArgs.cs