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
- DeclarativeCatalogPartDesigner.cs
- CodeAccessPermission.cs
- Root.cs
- UncommonField.cs
- storepermissionattribute.cs
- WebPartMenuStyle.cs
- ManipulationVelocities.cs
- NativeMethods.cs
- MdImport.cs
- XamlClipboardData.cs
- wmiprovider.cs
- EntityRecordInfo.cs
- RSATokenProvider.cs
- QilReplaceVisitor.cs
- TypographyProperties.cs
- cookie.cs
- selecteditemcollection.cs
- GuidelineSet.cs
- ResourceReferenceExpression.cs
- ClientConfigPaths.cs
- HyperLinkStyle.cs
- XmlWrappingWriter.cs
- FormViewRow.cs
- ScriptingJsonSerializationSection.cs
- Cursor.cs
- ByteAnimation.cs
- ChtmlTextWriter.cs
- UIntPtr.cs
- RequestQueryProcessor.cs
- IisTraceListener.cs
- FactoryRecord.cs
- DataAdapter.cs
- SqlProvider.cs
- CapacityStreamGeometryContext.cs
- DecoderExceptionFallback.cs
- ALinqExpressionVisitor.cs
- ExtenderControl.cs
- ThreadLocal.cs
- ElementNotEnabledException.cs
- XappLauncher.cs
- FontUnit.cs
- WindowsFormsSynchronizationContext.cs
- EmptyEnumerator.cs
- MouseGestureValueSerializer.cs
- ViewStateException.cs
- EntityDataSourceContainerNameConverter.cs
- Int32RectValueSerializer.cs
- FormViewDeleteEventArgs.cs
- BitmapEffectDrawing.cs
- ObjectDataSourceStatusEventArgs.cs
- ISessionStateStore.cs
- ILGenerator.cs
- DefaultTextStore.cs
- SiteMapProvider.cs
- DispatcherOperation.cs
- UnmanagedMemoryStreamWrapper.cs
- Validator.cs
- BlurBitmapEffect.cs
- WpfXamlMember.cs
- WeakReference.cs
- RefType.cs
- MaskedTextProvider.cs
- WebBrowserDocumentCompletedEventHandler.cs
- MarkupCompilePass2.cs
- DataServices.cs
- TrustLevelCollection.cs
- PathGeometry.cs
- HTMLTagNameToTypeMapper.cs
- EntityDataSourceQueryBuilder.cs
- OledbConnectionStringbuilder.cs
- StringStorage.cs
- FlowLayoutPanel.cs
- BufferBuilder.cs
- PropertyToken.cs
- Stack.cs
- PropertyValue.cs
- FrameworkTextComposition.cs
- TraceContextEventArgs.cs
- EventWaitHandle.cs
- ExecutionScope.cs
- LogArchiveSnapshot.cs
- SqlClientFactory.cs
- BufferModesCollection.cs
- CodeTypeParameter.cs
- WebPartMinimizeVerb.cs
- DataGridHeaderBorder.cs
- Matrix3D.cs
- BackgroundFormatInfo.cs
- Globals.cs
- Int32Rect.cs
- SequentialWorkflowHeaderFooter.cs
- SerializationObjectManager.cs
- SynchronizationHandlesCodeDomSerializer.cs
- ProcessHostServerConfig.cs
- ChameleonKey.cs
- DeferredElementTreeState.cs
- CreateUserWizard.cs
- SqlDataSourceView.cs
- XamlClipboardData.cs
- ExternalCalls.cs