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
- ProjectionCamera.cs
- NativeMethodsCLR.cs
- BindingGroup.cs
- ReadOnlyObservableCollection.cs
- FunctionQuery.cs
- WebWorkflowRole.cs
- EntityDataSourceDataSelection.cs
- NetworkInterface.cs
- CmsInterop.cs
- DeleteIndexBinder.cs
- ContextQuery.cs
- ProfileInfo.cs
- EventArgs.cs
- StyleSheet.cs
- TimeStampChecker.cs
- FlowLayoutPanel.cs
- GB18030Encoding.cs
- CancellationToken.cs
- ConfigXmlText.cs
- StringUtil.cs
- MultipartContentParser.cs
- Executor.cs
- NameScope.cs
- HttpDebugHandler.cs
- InkCanvasAutomationPeer.cs
- XPathMultyIterator.cs
- DynamicControl.cs
- TransactionFlowBindingElementImporter.cs
- ModelUIElement3D.cs
- RequestCachePolicyConverter.cs
- RequestCachingSection.cs
- SqlHelper.cs
- ToolStripSplitButton.cs
- Pair.cs
- SecurityResources.cs
- TableRow.cs
- ThemeConfigurationDialog.cs
- Pkcs7Recipient.cs
- QueryResults.cs
- RecognitionResult.cs
- ReadWriteObjectLock.cs
- CachedFontFamily.cs
- SafeFileMappingHandle.cs
- SerializerWriterEventHandlers.cs
- Stacktrace.cs
- BreakRecordTable.cs
- _ProxyChain.cs
- ToolboxControl.cs
- GetUserPreferenceRequest.cs
- HtmlElement.cs
- ButtonBase.cs
- DependencyProperty.cs
- DbConnectionOptions.cs
- OneWayChannelListener.cs
- GenericPrincipal.cs
- CompModSwitches.cs
- CryptoConfig.cs
- CSharpCodeProvider.cs
- CustomValidator.cs
- SlotInfo.cs
- ToolStripItem.cs
- WebPartDisplayMode.cs
- SafeProcessHandle.cs
- PickBranchDesigner.xaml.cs
- EntryWrittenEventArgs.cs
- Encoder.cs
- PageCodeDomTreeGenerator.cs
- AttributeCollection.cs
- ProcessDesigner.cs
- BamlStream.cs
- TableItemPattern.cs
- GenericIdentity.cs
- PrintDialog.cs
- BamlTreeUpdater.cs
- LifetimeManager.cs
- UpdateManifestForBrowserApplication.cs
- CommandManager.cs
- PeerObject.cs
- WindowsRegion.cs
- TableRowCollection.cs
- ChannelCredentials.cs
- DictionaryContent.cs
- XmlMtomReader.cs
- XmlSchemaSet.cs
- RuleSettings.cs
- XmlSchemaIdentityConstraint.cs
- JulianCalendar.cs
- IERequestCache.cs
- RunInstallerAttribute.cs
- SeparatorAutomationPeer.cs
- AstTree.cs
- InteropAutomationProvider.cs
- SaveFileDialog.cs
- Enum.cs
- RequestSecurityTokenResponseCollection.cs
- HttpUnhandledOperationInvoker.cs
- DbProviderFactories.cs
- _ConnectionGroup.cs
- Rect.cs
- XmlSchemaExporter.cs