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
- BasicExpandProvider.cs
- CodeExporter.cs
- TypeExtensionSerializer.cs
- Vector3dCollection.cs
- InstancePersistenceCommandException.cs
- SHA384.cs
- DbConnectionStringCommon.cs
- DetailsViewAutoFormat.cs
- CollectionAdapters.cs
- SurrogateSelector.cs
- XmlSchemaValidationException.cs
- AnnotationHelper.cs
- MenuItemBinding.cs
- MetafileHeader.cs
- M3DUtil.cs
- UserControl.cs
- TextRangeSerialization.cs
- RelationshipEnd.cs
- EntityRecordInfo.cs
- StringUtil.cs
- WmpBitmapEncoder.cs
- SqlTypeConverter.cs
- WebEventTraceProvider.cs
- IChannel.cs
- ItemAutomationPeer.cs
- Types.cs
- SHA1Managed.cs
- StylusPointProperties.cs
- XmlUnspecifiedAttribute.cs
- AttachmentService.cs
- ColumnClickEvent.cs
- BuildResult.cs
- CodeTypeReferenceSerializer.cs
- TrackingStringDictionary.cs
- ToolStripDropDownClosingEventArgs.cs
- ComplusEndpointConfigContainer.cs
- EventDescriptorCollection.cs
- TransportChannelFactory.cs
- Frame.cs
- SpinLock.cs
- StructuredProperty.cs
- ResourceType.cs
- RowUpdatingEventArgs.cs
- TrustManagerMoreInformation.cs
- SchemaElementDecl.cs
- SqlMetaData.cs
- DependencyPropertyAttribute.cs
- WorkflowOperationBehavior.cs
- DoWorkEventArgs.cs
- Util.cs
- WeakReferenceList.cs
- TreeView.cs
- CheckBox.cs
- TargetParameterCountException.cs
- TypeConverterAttribute.cs
- XmlHierarchyData.cs
- Metafile.cs
- Int32KeyFrameCollection.cs
- ObjectStateEntryDbDataRecord.cs
- DecoderExceptionFallback.cs
- _WinHttpWebProxyDataBuilder.cs
- ProxyWebPartManager.cs
- SiteOfOriginPart.cs
- ContainerSelectorActiveEvent.cs
- X509AsymmetricSecurityKey.cs
- EventManager.cs
- XmlValidatingReaderImpl.cs
- AdapterDictionary.cs
- AncillaryOps.cs
- SizeChangedInfo.cs
- RuleSetDialog.cs
- SafeNativeMethodsMilCoreApi.cs
- WizardDesigner.cs
- Validator.cs
- VisualStateManager.cs
- ElementUtil.cs
- TypeGeneratedEventArgs.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- SimpleTypeResolver.cs
- OracleLob.cs
- CheckBoxRenderer.cs
- ChangeInterceptorAttribute.cs
- LinqDataView.cs
- AssociatedControlConverter.cs
- UnsafeNativeMethods.cs
- ItemCheckedEvent.cs
- Tuple.cs
- TextBoxView.cs
- CopyCodeAction.cs
- BaseProcessor.cs
- SerializationHelper.cs
- SoapFaultCodes.cs
- SafeSecurityHelper.cs
- Memoizer.cs
- InputDevice.cs
- ApplicationId.cs
- NetworkInterface.cs
- RemoteWebConfigurationHost.cs
- DateTimeOffset.cs
- AliasedExpr.cs