Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TypeInfo.cs
- MobileFormsAuthentication.cs
- NamedObject.cs
- SectionInput.cs
- WebDisplayNameAttribute.cs
- WasHostedComPlusFactory.cs
- SoapTypeAttribute.cs
- DataViewManager.cs
- MetadataPropertyAttribute.cs
- SspiHelper.cs
- ListViewDeleteEventArgs.cs
- XPathParser.cs
- HtmlString.cs
- coordinator.cs
- SingleBodyParameterMessageFormatter.cs
- FontUnit.cs
- GeometryValueSerializer.cs
- NotifyCollectionChangedEventArgs.cs
- EditorBrowsableAttribute.cs
- HttpWebRequest.cs
- Int64Animation.cs
- FormatterConverter.cs
- WebPartCollection.cs
- DesignerAttribute.cs
- JsonGlobals.cs
- SqlReferenceCollection.cs
- ResourceDescriptionAttribute.cs
- XMLDiffLoader.cs
- TableLayoutRowStyleCollection.cs
- DisplayMemberTemplateSelector.cs
- HwndAppCommandInputProvider.cs
- ValueExpressions.cs
- SafeNativeMethodsMilCoreApi.cs
- WaitHandleCannotBeOpenedException.cs
- ObjectDataSourceWizardForm.cs
- OrderByBuilder.cs
- UnionExpr.cs
- Process.cs
- MethodCallConverter.cs
- AnnotationHighlightLayer.cs
- DefaultObjectSerializer.cs
- TimerEventSubscription.cs
- EventToken.cs
- ValidationErrorEventArgs.cs
- PerformanceCounter.cs
- EncodingConverter.cs
- CodeDefaultValueExpression.cs
- X509ChainPolicy.cs
- RemoteWebConfigurationHostStream.cs
- EntityType.cs
- EventProviderTraceListener.cs
- MetaModel.cs
- _HeaderInfoTable.cs
- RealProxy.cs
- AuthenticationModuleElementCollection.cs
- WebPartExportVerb.cs
- VectorCollectionValueSerializer.cs
- VirtualizingPanel.cs
- XmlTextReaderImplHelpers.cs
- EditingMode.cs
- FileDialogPermission.cs
- ApplicationServiceHelper.cs
- SchemaDeclBase.cs
- PeerApplication.cs
- WebPartCatalogAddVerb.cs
- ProxyManager.cs
- DbConnectionInternal.cs
- WebResourceUtil.cs
- Slider.cs
- ProjectionRewriter.cs
- EditingMode.cs
- TableRow.cs
- XPathNodeList.cs
- PlatformCulture.cs
- EntityAdapter.cs
- UnmanagedMemoryAccessor.cs
- Pool.cs
- Polygon.cs
- TemplateAction.cs
- BinaryExpressionHelper.cs
- WorkflowRequestContext.cs
- XmlSchemaInclude.cs
- DialogResultConverter.cs
- SemaphoreFullException.cs
- EntityDataSourceView.cs
- SqlConnectionHelper.cs
- CatalogPart.cs
- _FtpDataStream.cs
- HtmlInputRadioButton.cs
- InfiniteIntConverter.cs
- Parameter.cs
- LayoutEvent.cs
- SiteMapProvider.cs
- MultiView.cs
- ItemContainerGenerator.cs
- ClientRolePrincipal.cs
- CounterCreationDataConverter.cs
- ListViewItemCollectionEditor.cs
- LoginView.cs
- DesignerVerbCollection.cs