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
- GuidelineSet.cs
- Baml6ConstructorInfo.cs
- _AutoWebProxyScriptHelper.cs
- ISAPIWorkerRequest.cs
- WpfWebRequestHelper.cs
- CommandBinding.cs
- OracleParameterBinding.cs
- SqlBulkCopyColumnMapping.cs
- DataColumnSelectionConverter.cs
- StrongNameMembershipCondition.cs
- LicenseException.cs
- MbpInfo.cs
- EpmContentDeSerializer.cs
- ApplicationGesture.cs
- HtmlFormParameterReader.cs
- CorrelationHandle.cs
- SortableBindingList.cs
- ParserStack.cs
- GenericNameHandler.cs
- ExpressionBuilderCollection.cs
- DataServiceEntityAttribute.cs
- CdpEqualityComparer.cs
- MailDefinition.cs
- SqlUtil.cs
- NetMsmqBinding.cs
- AffineTransform3D.cs
- IndexingContentUnit.cs
- PassportAuthenticationEventArgs.cs
- ImageList.cs
- FormViewAutoFormat.cs
- CallbackException.cs
- DbConnectionStringCommon.cs
- ErrorHandlingReceiver.cs
- MailWebEventProvider.cs
- cookiecontainer.cs
- XmlQualifiedNameTest.cs
- DesignerCategoryAttribute.cs
- DocumentSchemaValidator.cs
- FixedPage.cs
- Matrix3DValueSerializer.cs
- SqlDependency.cs
- BufferModeSettings.cs
- BevelBitmapEffect.cs
- FamilyCollection.cs
- OpCopier.cs
- ContainerControl.cs
- TextServicesLoader.cs
- BuildProvidersCompiler.cs
- PropertyGridView.cs
- ComponentCommands.cs
- GridPattern.cs
- CompiledQuery.cs
- PeerName.cs
- CompareValidator.cs
- RelatedEnd.cs
- ServiceSecurityContext.cs
- Attributes.cs
- MappingItemCollection.cs
- MailMessage.cs
- SqlServices.cs
- XamlFigureLengthSerializer.cs
- WinFormsComponentEditor.cs
- StdValidatorsAndConverters.cs
- TransformerConfigurationWizardBase.cs
- Material.cs
- NullExtension.cs
- WriteTimeStream.cs
- DefaultValueConverter.cs
- ThreadSafeList.cs
- DataGridViewTextBoxCell.cs
- LogStream.cs
- SpecularMaterial.cs
- PtsPage.cs
- WebColorConverter.cs
- PropertyConverter.cs
- StylusCaptureWithinProperty.cs
- GroupBox.cs
- CodeVariableReferenceExpression.cs
- ConfigXmlReader.cs
- CharAnimationUsingKeyFrames.cs
- SignalGate.cs
- SslStream.cs
- IPipelineRuntime.cs
- ExpressionVisitor.cs
- XPathItem.cs
- HttpPostedFileBase.cs
- IteratorFilter.cs
- EarlyBoundInfo.cs
- WmlTextBoxAdapter.cs
- LongAverageAggregationOperator.cs
- TableRowCollection.cs
- CodeEntryPointMethod.cs
- KnowledgeBase.cs
- JsonFormatMapping.cs
- SimpleHandlerBuildProvider.cs
- AssertFilter.cs
- WinFormsComponentEditor.cs
- HitTestFilterBehavior.cs
- ClientSideQueueItem.cs
- DynamicQueryableWrapper.cs