Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / WaitHandleCannotBeOpenedException.cs / 1305376 / WaitHandleCannotBeOpenedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // //[....] namespace System.Threading { using System; using System.Runtime.Serialization; using System.Runtime.InteropServices; [Serializable] [ComVisibleAttribute(false)] #if FEATURE_CORECLR public class WaitHandleCannotBeOpenedException : Exception { #if false } #endif #else public class WaitHandleCannotBeOpenedException : ApplicationException { #endif // FEATURE_CORECLR public WaitHandleCannotBeOpenedException() : base(Environment.GetResourceString("Threading.WaitHandleCannotBeOpenedException")) { SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); } public WaitHandleCannotBeOpenedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); } public WaitHandleCannotBeOpenedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); } [System.Security.SecuritySafeCritical] // auto-generated protected WaitHandleCannotBeOpenedException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // //[....] namespace System.Threading { using System; using System.Runtime.Serialization; using System.Runtime.InteropServices; [Serializable] [ComVisibleAttribute(false)] #if FEATURE_CORECLR public class WaitHandleCannotBeOpenedException : Exception { #if false } #endif #else public class WaitHandleCannotBeOpenedException : ApplicationException { #endif // FEATURE_CORECLR public WaitHandleCannotBeOpenedException() : base(Environment.GetResourceString("Threading.WaitHandleCannotBeOpenedException")) { SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); } public WaitHandleCannotBeOpenedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); } public WaitHandleCannotBeOpenedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); } [System.Security.SecuritySafeCritical] // auto-generated protected WaitHandleCannotBeOpenedException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // 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
- IInstanceContextProvider.cs
- NamespaceCollection.cs
- FixedTextView.cs
- BitmapEffectInput.cs
- SqlErrorCollection.cs
- DefaultShape.cs
- DomNameTable.cs
- PerfCounters.cs
- ManagementScope.cs
- PointHitTestResult.cs
- BaseTypeViewSchema.cs
- BaseTemplateParser.cs
- IdentitySection.cs
- SearchForVirtualItemEventArgs.cs
- TypeExtensionConverter.cs
- ExternalException.cs
- InfoCardTraceRecord.cs
- OrderedDictionary.cs
- SystemEvents.cs
- TransformGroup.cs
- DesignerActionPanel.cs
- WpfPayload.cs
- DataSourceExpressionCollection.cs
- SoundPlayer.cs
- AnnotationElement.cs
- ConfigurationProperty.cs
- SchemaNotation.cs
- ManualResetEventSlim.cs
- DefaultShape.cs
- HandlerFactoryWrapper.cs
- WindowsFormsHostAutomationPeer.cs
- StoreItemCollection.cs
- future.cs
- StylusPlugInCollection.cs
- TableAutomationPeer.cs
- TextServicesLoader.cs
- Size3DValueSerializer.cs
- DataSourceView.cs
- SerializationAttributes.cs
- datacache.cs
- IgnorePropertiesAttribute.cs
- XmlSchemaCollection.cs
- ConnectionAcceptor.cs
- DocumentOrderQuery.cs
- NamespaceMapping.cs
- Calendar.cs
- SocketInformation.cs
- DeleteIndexBinder.cs
- Utils.cs
- ParserContext.cs
- RegularExpressionValidator.cs
- KeysConverter.cs
- AnimationClockResource.cs
- Transactions.cs
- EdmValidator.cs
- DispatcherOperation.cs
- DataObject.cs
- CodeDomSerializerException.cs
- SimpleMailWebEventProvider.cs
- CompoundFileIOPermission.cs
- SqlCommandSet.cs
- ToolStripCollectionEditor.cs
- DataChangedEventManager.cs
- BufferAllocator.cs
- SecurityContext.cs
- DrawingVisualDrawingContext.cs
- odbcmetadatacollectionnames.cs
- XmlSignatureProperties.cs
- GroupQuery.cs
- SchemaCompiler.cs
- ServiceOperationListItemList.cs
- AdornedElementPlaceholder.cs
- Filter.cs
- WebConfigurationFileMap.cs
- FixedSOMTableRow.cs
- PlatformCulture.cs
- Visual3D.cs
- NameObjectCollectionBase.cs
- CallbackValidatorAttribute.cs
- SafeArrayTypeMismatchException.cs
- AnnotationResourceCollection.cs
- ScaleTransform3D.cs
- ListControlActionList.cs
- DataChangedEventManager.cs
- DataConnectionHelper.cs
- TempEnvironment.cs
- XmlFormatReaderGenerator.cs
- SaveFileDialogDesigner.cs
- _CookieModule.cs
- ObjectConverter.cs
- CreateUserWizardAutoFormat.cs
- XmlUtilWriter.cs
- HeaderedContentControl.cs
- Options.cs
- PostBackOptions.cs
- TreeBuilderXamlTranslator.cs
- FromRequest.cs
- DataGridItemCollection.cs
- NetworkCredential.cs
- MediaTimeline.cs