Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / CallbackException.cs / 1305376 / CallbackException.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime { using System; using System.Runtime.Serialization; [Serializable] class CallbackException : FatalException { public CallbackException() { } public CallbackException(string message, Exception innerException) : base(message, innerException) { // This can't throw something like ArgumentException because that would be worse than // throwing the callback exception that was requested. Fx.Assert(innerException != null, "CallbackException requires an inner exception."); Fx.Assert(!Fx.IsFatal(innerException), "CallbackException can't be used to wrap fatal exceptions."); } protected CallbackException(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.Runtime { using System; using System.Runtime.Serialization; [Serializable] class CallbackException : FatalException { public CallbackException() { } public CallbackException(string message, Exception innerException) : base(message, innerException) { // This can't throw something like ArgumentException because that would be worse than // throwing the callback exception that was requested. Fx.Assert(innerException != null, "CallbackException requires an inner exception."); Fx.Assert(!Fx.IsFatal(innerException), "CallbackException can't be used to wrap fatal exceptions."); } protected CallbackException(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
- ComboBoxRenderer.cs
- AutomationAttributeInfo.cs
- ButtonAutomationPeer.cs
- EntityClassGenerator.cs
- NamedElement.cs
- ButtonBaseAdapter.cs
- ToolStripSplitStackLayout.cs
- QueueProcessor.cs
- ListViewDataItem.cs
- SmiContext.cs
- ToolStripRenderEventArgs.cs
- RotateTransform.cs
- SelectionRange.cs
- TransactionFlowProperty.cs
- AsymmetricKeyExchangeDeformatter.cs
- RecognitionEventArgs.cs
- FlowDocument.cs
- WebPartHelpVerb.cs
- IssuanceTokenProviderState.cs
- SafeUserTokenHandle.cs
- OutputCacheSettingsSection.cs
- Byte.cs
- StreamingContext.cs
- ToolStripDropDownButton.cs
- KeyNotFoundException.cs
- ConversionValidationRule.cs
- ObjectTag.cs
- ParseNumbers.cs
- NotConverter.cs
- DispatcherOperation.cs
- DataGridViewTextBoxColumn.cs
- ArgumentException.cs
- ResourceExpressionEditorSheet.cs
- NameValuePair.cs
- FileSystemEventArgs.cs
- KerberosTicketHashIdentifierClause.cs
- ProtocolState.cs
- SmiMetaDataProperty.cs
- ChangeConflicts.cs
- Propagator.Evaluator.cs
- Soap12FormatExtensions.cs
- Misc.cs
- GridViewCellAutomationPeer.cs
- GridItemPattern.cs
- PointLightBase.cs
- GetPageNumberCompletedEventArgs.cs
- ControlDesignerState.cs
- ProxyWebPartManager.cs
- Focus.cs
- CodeIdentifiers.cs
- PolicyValidationException.cs
- AssemblyCacheEntry.cs
- PolicyException.cs
- LocatorGroup.cs
- FolderBrowserDialog.cs
- HtmlLink.cs
- RecordsAffectedEventArgs.cs
- EntityTypeEmitter.cs
- FileUtil.cs
- Vector3DCollection.cs
- DockPatternIdentifiers.cs
- FontUnitConverter.cs
- FontSourceCollection.cs
- BulletedListEventArgs.cs
- RichTextBox.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- ObjectSet.cs
- DataKey.cs
- PropertyDescriptors.cs
- GetPageNumberCompletedEventArgs.cs
- Binding.cs
- DynamicValidatorEventArgs.cs
- ScriptComponentDescriptor.cs
- ModuleConfigurationInfo.cs
- ViewGenResults.cs
- PrimitiveCodeDomSerializer.cs
- WindowsHyperlink.cs
- CapabilitiesState.cs
- TextBoxDesigner.cs
- ContainerSelectorBehavior.cs
- DBSchemaRow.cs
- Win32.cs
- ProviderSettingsCollection.cs
- DataGridViewCellStyleConverter.cs
- LinqDataSourceUpdateEventArgs.cs
- SeverityFilter.cs
- XmlEnumAttribute.cs
- EventData.cs
- DBConcurrencyException.cs
- SamlAuthorityBinding.cs
- CapiHashAlgorithm.cs
- HTTPNotFoundHandler.cs
- IgnoreSection.cs
- PlanCompiler.cs
- CodeAssignStatement.cs
- ValidationHelper.cs
- XmlNotation.cs
- XomlSerializationHelpers.cs
- OleDbTransaction.cs
- SortAction.cs