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
- TimeSpanMinutesOrInfiniteConverter.cs
- StrongName.cs
- SafePointer.cs
- Deserializer.cs
- EmptyEnumerable.cs
- MembershipSection.cs
- SetIterators.cs
- DbFunctionCommandTree.cs
- DataGridViewRowCollection.cs
- Point3DCollectionValueSerializer.cs
- SuppressMessageAttribute.cs
- RsaElement.cs
- UserControl.cs
- TaskFormBase.cs
- SetIterators.cs
- ContainerUIElement3D.cs
- AssemblyResourceLoader.cs
- documentation.cs
- ReliableMessagingHelpers.cs
- MobileUserControl.cs
- IgnoreSectionHandler.cs
- RightNameExpirationInfoPair.cs
- File.cs
- SmtpDigestAuthenticationModule.cs
- HtmlToClrEventProxy.cs
- ResponseBodyWriter.cs
- HtmlControlPersistable.cs
- MetadataItemEmitter.cs
- StorageEntityTypeMapping.cs
- OracleConnectionStringBuilder.cs
- PolicyConversionContext.cs
- UnsafeNativeMethods.cs
- RecognizerInfo.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TcpClientChannel.cs
- HandledMouseEvent.cs
- TextSelectionHelper.cs
- InfiniteTimeSpanConverter.cs
- SafeViewOfFileHandle.cs
- FixedPageProcessor.cs
- SecurityManager.cs
- ReliableInputConnection.cs
- ObjectStateEntryDbDataRecord.cs
- HandledMouseEvent.cs
- ValueTypeFixupInfo.cs
- WindowsGraphics.cs
- TextSyndicationContentKindHelper.cs
- Camera.cs
- Localizer.cs
- Int32Rect.cs
- CharUnicodeInfo.cs
- DataPagerFieldCollection.cs
- UriScheme.cs
- BindingSource.cs
- DoubleLinkListEnumerator.cs
- LocalizationComments.cs
- RpcCryptoContext.cs
- SmiEventSink_Default.cs
- Odbc32.cs
- DataGridViewCellFormattingEventArgs.cs
- HitTestResult.cs
- WindowsFormsSectionHandler.cs
- Message.cs
- TypeConverterHelper.cs
- xml.cs
- CollectionViewGroupInternal.cs
- ControlUtil.cs
- ChangeInterceptorAttribute.cs
- PackWebRequestFactory.cs
- BindingContext.cs
- AssociationTypeEmitter.cs
- DesignerUtils.cs
- TimeSpanMinutesConverter.cs
- GeneralTransform.cs
- SaveFileDialog.cs
- SqlExpressionNullability.cs
- SerialPinChanges.cs
- ServiceOperation.cs
- AutoResetEvent.cs
- Tokenizer.cs
- UriWriter.cs
- ListView.cs
- XPathSingletonIterator.cs
- MouseDevice.cs
- brushes.cs
- AncillaryOps.cs
- InheritedPropertyDescriptor.cs
- ConsoleTraceListener.cs
- MeshGeometry3D.cs
- BrowsableAttribute.cs
- SocketPermission.cs
- IgnoreFlushAndCloseStream.cs
- ValidationPropertyAttribute.cs
- FastPropertyAccessor.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- IRCollection.cs
- SmiEventSink_Default.cs
- CaseInsensitiveComparer.cs
- HtmlFormWrapper.cs
- JapaneseLunisolarCalendar.cs