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
- PanningMessageFilter.cs
- XamlStream.cs
- TextParagraphView.cs
- XamlReader.cs
- _TimerThread.cs
- ToolStripSystemRenderer.cs
- EmptyReadOnlyDictionaryInternal.cs
- ColorKeyFrameCollection.cs
- RequiredFieldValidator.cs
- ActivityExecutorSurrogate.cs
- ObjectCacheHost.cs
- Icon.cs
- Drawing.cs
- Literal.cs
- ClassHandlersStore.cs
- SiteMap.cs
- TextMessageEncodingElement.cs
- AnonymousIdentificationSection.cs
- ChannelBase.cs
- MethodBuilder.cs
- GcSettings.cs
- BitArray.cs
- RenameRuleObjectDialog.cs
- ReadOnlyActivityGlyph.cs
- ImageIndexConverter.cs
- DesignerSerializerAttribute.cs
- RouteValueExpressionBuilder.cs
- LineGeometry.cs
- BatchWriter.cs
- SubstitutionList.cs
- BoolExpr.cs
- Debug.cs
- WebControlAdapter.cs
- EventArgs.cs
- AutomationPeer.cs
- Positioning.cs
- UniqueSet.cs
- WebEvents.cs
- ColumnResizeAdorner.cs
- RSAPKCS1SignatureFormatter.cs
- DocumentViewerAutomationPeer.cs
- CharConverter.cs
- KeyConstraint.cs
- _LocalDataStore.cs
- PipeSecurity.cs
- MailAddress.cs
- DocumentGridContextMenu.cs
- Byte.cs
- EntitySetBase.cs
- XmlDictionaryReaderQuotasElement.cs
- IListConverters.cs
- DescendantBaseQuery.cs
- externdll.cs
- MulticastDelegate.cs
- StringPropertyBuilder.cs
- SiteMapDataSourceView.cs
- CellCreator.cs
- ConfigXmlComment.cs
- IndexedSelectQueryOperator.cs
- SafeThreadHandle.cs
- TextEvent.cs
- PeerTransportCredentialType.cs
- SettingsPropertyValue.cs
- SafeNativeMethodsOther.cs
- TrustManagerPromptUI.cs
- SimpleHandlerBuildProvider.cs
- TemplatedMailWebEventProvider.cs
- PolyLineSegment.cs
- SqlFormatter.cs
- ShellProvider.cs
- SmiEventSink.cs
- FieldToken.cs
- PackageProperties.cs
- StandardToolWindows.cs
- ImageCodecInfoPrivate.cs
- EventDescriptor.cs
- BrushConverter.cs
- LateBoundBitmapDecoder.cs
- DataBoundLiteralControl.cs
- RangeBaseAutomationPeer.cs
- ProjectionPlan.cs
- ReceiveMessageRecord.cs
- ConfigurationStrings.cs
- WrapperEqualityComparer.cs
- SqlCommand.cs
- ExpandableObjectConverter.cs
- HandlerFactoryCache.cs
- PerformanceCounterTraceRecord.cs
- HwndAppCommandInputProvider.cs
- AnimationClock.cs
- GlyphRun.cs
- WizardStepBase.cs
- MiniCustomAttributeInfo.cs
- DataSourceXmlClassAttribute.cs
- ExpressionVisitor.cs
- WindowsAltTab.cs
- SourceInterpreter.cs
- AuthenticationService.cs
- SortedList.cs
- StorageModelBuildProvider.cs