Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartConnectionsEventArgs.cs
- FileRecordSequence.cs
- VarRemapper.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- RawStylusActions.cs
- HtmlLink.cs
- TokenBasedSet.cs
- ActionMessageFilter.cs
- AspCompat.cs
- WebServiceFaultDesigner.cs
- columnmapkeybuilder.cs
- AVElementHelper.cs
- ContractReference.cs
- StreamInfo.cs
- Classification.cs
- UIElement3D.cs
- DependencyPropertyHelper.cs
- StringComparer.cs
- sortedlist.cs
- InvokeMemberBinder.cs
- TimeoutConverter.cs
- Code.cs
- SQLInt32Storage.cs
- TiffBitmapDecoder.cs
- DynamicEntity.cs
- ChtmlTextWriter.cs
- XmlObjectSerializer.cs
- MenuBindingsEditor.cs
- SettingsAttributes.cs
- PolicyManager.cs
- DocumentPage.cs
- AdjustableArrowCap.cs
- MediaContextNotificationWindow.cs
- SourceFileBuildProvider.cs
- DbParameterHelper.cs
- SizeValueSerializer.cs
- XhtmlConformanceSection.cs
- WebExceptionStatus.cs
- KoreanLunisolarCalendar.cs
- NativeMethods.cs
- FixedSchema.cs
- XmlSchemaSubstitutionGroup.cs
- XPathNodeInfoAtom.cs
- HttpCookieCollection.cs
- cookiecollection.cs
- PriorityBindingExpression.cs
- ToolTipService.cs
- DbConnectionStringCommon.cs
- TableAdapterManagerNameHandler.cs
- DCSafeHandle.cs
- ManagementObject.cs
- ToolConsole.cs
- WebHeaderCollection.cs
- DesignTableCollection.cs
- AdornerLayer.cs
- SQLSingle.cs
- XsltOutput.cs
- TableLayoutRowStyleCollection.cs
- FillErrorEventArgs.cs
- peersecurityelement.cs
- SoapEnumAttribute.cs
- CacheSection.cs
- DataGridRelationshipRow.cs
- XPathMultyIterator.cs
- ProtocolsConfigurationHandler.cs
- WindowsStatusBar.cs
- NameTable.cs
- JulianCalendar.cs
- VisualState.cs
- Rights.cs
- EFAssociationProvider.cs
- Translator.cs
- Line.cs
- FrameSecurityDescriptor.cs
- TraceSection.cs
- StringConcat.cs
- QilExpression.cs
- RecognizedAudio.cs
- ControlIdConverter.cs
- Graphics.cs
- OracleMonthSpan.cs
- PersistChildrenAttribute.cs
- ToolBarPanel.cs
- WebBrowser.cs
- Hashtable.cs
- PopupRoot.cs
- OLEDB_Util.cs
- IntSecurity.cs
- SHA512Managed.cs
- DescendantBaseQuery.cs
- ConsoleCancelEventArgs.cs
- CacheModeValueSerializer.cs
- SQLDoubleStorage.cs
- CacheSection.cs
- HandlerBase.cs
- ResourceAttributes.cs
- ConfigurationPermission.cs
- TableAutomationPeer.cs
- Fx.cs
- TranslateTransform.cs