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
- SecurityRuntime.cs
- TextBounds.cs
- ByteArrayHelperWithString.cs
- BuildResult.cs
- Track.cs
- ImageList.cs
- entitydatasourceentitysetnameconverter.cs
- NativeMethods.cs
- ImageSourceConverter.cs
- AnimationException.cs
- __Filters.cs
- SafeProcessHandle.cs
- HttpBindingExtension.cs
- SqlServer2KCompatibilityCheck.cs
- PointLight.cs
- SeverityFilter.cs
- ToolboxItemSnapLineBehavior.cs
- DatePickerDateValidationErrorEventArgs.cs
- Table.cs
- MarshalByValueComponent.cs
- RichTextBoxDesigner.cs
- TailCallAnalyzer.cs
- listitem.cs
- PopupControlService.cs
- FlowDocumentFormatter.cs
- CodeTypeDelegate.cs
- SafeHandles.cs
- CheckedListBox.cs
- SoapHeaderException.cs
- PerformanceCountersElement.cs
- ChangeDirector.cs
- DecimalStorage.cs
- CookieParameter.cs
- HttpListenerException.cs
- GridViewSelectEventArgs.cs
- ToolboxItemCollection.cs
- ClientCultureInfo.cs
- MarkupWriter.cs
- Module.cs
- StylusEventArgs.cs
- CopyOnWriteList.cs
- UpdateManifestForBrowserApplication.cs
- FixedPageStructure.cs
- RequestContextBase.cs
- XhtmlBasicObjectListAdapter.cs
- ResourcePart.cs
- EastAsianLunisolarCalendar.cs
- DebugView.cs
- DataGridViewControlCollection.cs
- BinarySecretKeyIdentifierClause.cs
- PathData.cs
- ItemCheckEvent.cs
- Socket.cs
- UnsafeNativeMethodsTablet.cs
- SchemaImporter.cs
- ImageListUtils.cs
- HandlerBase.cs
- MergeEnumerator.cs
- RegionData.cs
- PerformanceCounterPermission.cs
- RedirectionProxy.cs
- mediapermission.cs
- TypeName.cs
- DtrList.cs
- AnnotationStore.cs
- EntityDataSourceDataSelection.cs
- TemplateField.cs
- _ProxyRegBlob.cs
- Exceptions.cs
- HashJoinQueryOperatorEnumerator.cs
- DiagnosticsConfiguration.cs
- _CommandStream.cs
- MatrixConverter.cs
- MetadataImporterQuotas.cs
- CollectionChangeEventArgs.cs
- DataSysAttribute.cs
- RtfToken.cs
- FacetChecker.cs
- MULTI_QI.cs
- UntypedNullExpression.cs
- FixedMaxHeap.cs
- Visitors.cs
- WebPartAddingEventArgs.cs
- FunctionUpdateCommand.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XmlSchemaDocumentation.cs
- UserInitiatedRoutedEventPermission.cs
- SettingsPropertyNotFoundException.cs
- XPathMultyIterator.cs
- Context.cs
- SoapIgnoreAttribute.cs
- BinaryConverter.cs
- PropertyManager.cs
- PropertyManager.cs
- XmlSchema.cs
- CreateUserWizardStep.cs
- LoadedOrUnloadedOperation.cs
- EventsTab.cs
- ProfileSection.cs
- RsaKeyIdentifierClause.cs