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
- TrackBar.cs
- UriTemplateQueryValue.cs
- ChainOfResponsibility.cs
- DeclaredTypeValidator.cs
- WebEventCodes.cs
- HMACRIPEMD160.cs
- ObjectRef.cs
- Point3DKeyFrameCollection.cs
- XmlBufferReader.cs
- XmlRawWriterWrapper.cs
- TemplatePagerField.cs
- TypeReference.cs
- WinEventWrap.cs
- GridViewRowEventArgs.cs
- BufferedWebEventProvider.cs
- ListViewUpdatedEventArgs.cs
- XmlMemberMapping.cs
- Metafile.cs
- UpdateProgress.cs
- XmlSchemaProviderAttribute.cs
- StylusEditingBehavior.cs
- NotifyParentPropertyAttribute.cs
- CustomErrorsSection.cs
- RelatedImageListAttribute.cs
- Activity.cs
- RSAPKCS1KeyExchangeFormatter.cs
- PixelFormatConverter.cs
- ManagementInstaller.cs
- WMIInterop.cs
- RequestResizeEvent.cs
- ExtensionWindowResizeGrip.cs
- SQLDouble.cs
- SafeSerializationManager.cs
- SmiSettersStream.cs
- TypeAccessException.cs
- DocumentPageView.cs
- CaseInsensitiveHashCodeProvider.cs
- AliasedSlot.cs
- ComboBoxItem.cs
- CompilerScope.cs
- EventSinkActivityDesigner.cs
- AuditLogLocation.cs
- basecomparevalidator.cs
- GroupBoxAutomationPeer.cs
- CodeTypeOfExpression.cs
- ToolStripHighContrastRenderer.cs
- DATA_BLOB.cs
- TranslateTransform3D.cs
- Ops.cs
- SelectManyQueryOperator.cs
- SystemBrushes.cs
- RuntimeDelegateArgument.cs
- DataContractSerializerSection.cs
- ScrollProperties.cs
- mil_sdk_version.cs
- Point3DConverter.cs
- TransportSecurityBindingElement.cs
- SerializerProvider.cs
- WhiteSpaceTrimStringConverter.cs
- ListViewDataItem.cs
- mediapermission.cs
- BooleanAnimationBase.cs
- DataColumnMappingCollection.cs
- TreeIterators.cs
- DataServiceRequest.cs
- ValueChangedEventManager.cs
- BaseDataBoundControl.cs
- HasCopySemanticsAttribute.cs
- ITextView.cs
- XMLDiffLoader.cs
- XomlCompiler.cs
- BasicExpandProvider.cs
- SchemaElementLookUpTable.cs
- ColumnMapTranslator.cs
- EllipseGeometry.cs
- SingleKeyFrameCollection.cs
- EventlogProvider.cs
- XmlCustomFormatter.cs
- Internal.cs
- StretchValidation.cs
- DbXmlEnabledProviderManifest.cs
- PersonalizableAttribute.cs
- TemplateComponentConnector.cs
- ActivityExecutorDelegateInfo.cs
- SimpleWebHandlerParser.cs
- SurrogateChar.cs
- HyperlinkAutomationPeer.cs
- CLSCompliantAttribute.cs
- StyleCollection.cs
- AtomServiceDocumentSerializer.cs
- RectAnimationUsingKeyFrames.cs
- UncommonField.cs
- ListViewCommandEventArgs.cs
- DesignSurfaceServiceContainer.cs
- Binding.cs
- CqlParser.cs
- DriveNotFoundException.cs
- GZipStream.cs
- TimeoutException.cs
- TableRow.cs