Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataGridViewMethods.cs
- TextRunCacheImp.cs
- QueuePathEditor.cs
- EntityConnectionStringBuilder.cs
- DataControlImageButton.cs
- LookupBindingPropertiesAttribute.cs
- EncodingInfo.cs
- ManagementObjectSearcher.cs
- ExtendedProperty.cs
- TypeExtensions.cs
- RegexMatch.cs
- ExcCanonicalXml.cs
- DynamicVirtualDiscoSearcher.cs
- SequentialOutput.cs
- LinkUtilities.cs
- CellRelation.cs
- SendMailErrorEventArgs.cs
- SoundPlayer.cs
- BitmapCache.cs
- PackagingUtilities.cs
- Parallel.cs
- JpegBitmapEncoder.cs
- InstanceKeyNotReadyException.cs
- TracePayload.cs
- RootProfilePropertySettingsCollection.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DesignTimeVisibleAttribute.cs
- TextFormatterImp.cs
- EndpointConfigContainer.cs
- XmlEncodedRawTextWriter.cs
- FunctionImportElement.cs
- DataPager.cs
- StyleSelector.cs
- ObjectConverter.cs
- DataServiceRequestException.cs
- Message.cs
- ElementHostAutomationPeer.cs
- TextBlock.cs
- PagerStyle.cs
- CredentialCache.cs
- BindingOperations.cs
- ComboBoxItem.cs
- DocumentNUp.cs
- MSAAWinEventWrap.cs
- XPathBuilder.cs
- StateItem.cs
- QueryableDataSourceHelper.cs
- XslAst.cs
- FileCodeGroup.cs
- NumericUpDownAccelerationCollection.cs
- ConfigXmlSignificantWhitespace.cs
- URLMembershipCondition.cs
- DocumentApplicationJournalEntry.cs
- WindowsAuthenticationModule.cs
- WindowsListViewGroupHelper.cs
- WebServiceEnumData.cs
- ToolStripPanelRow.cs
- InternalConfigHost.cs
- SkewTransform.cs
- TextRangeProviderWrapper.cs
- PlaceHolder.cs
- RefreshPropertiesAttribute.cs
- DataRowView.cs
- EventlogProvider.cs
- TransformerInfo.cs
- CodeNamespaceImportCollection.cs
- NativeMethodsCLR.cs
- AtomServiceDocumentSerializer.cs
- EventLogger.cs
- SessionStateContainer.cs
- XMLDiffLoader.cs
- ScrollData.cs
- GroupQuery.cs
- JoinSymbol.cs
- MetadataCache.cs
- SpeechDetectedEventArgs.cs
- XmlEncoding.cs
- Command.cs
- PenThreadWorker.cs
- XMLSchema.cs
- BaseCodeDomTreeGenerator.cs
- ConfigXmlSignificantWhitespace.cs
- DbConvert.cs
- ComponentResourceKey.cs
- FontDifferentiator.cs
- GatewayDefinition.cs
- XmlLoader.cs
- IgnoreFileBuildProvider.cs
- InputScopeAttribute.cs
- SqlDataReader.cs
- Rfc4050KeyFormatter.cs
- NotImplementedException.cs
- AppDomainInstanceProvider.cs
- StructureChangedEventArgs.cs
- RawAppCommandInputReport.cs
- PostBackTrigger.cs
- EntityFrameworkVersions.cs
- StorageEntityTypeMapping.cs
- UInt64.cs
- ScrollContentPresenter.cs