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
- odbcmetadatafactory.cs
- WebException.cs
- TreeNodeBindingDepthConverter.cs
- InvalidProgramException.cs
- WeakReference.cs
- BindableAttribute.cs
- BoundsDrawingContextWalker.cs
- RijndaelManaged.cs
- XmlElementAttributes.cs
- Border.cs
- PolicyLevel.cs
- Int32Converter.cs
- OrderedEnumerableRowCollection.cs
- EntitySetBaseCollection.cs
- newinstructionaction.cs
- MarshalByValueComponent.cs
- ActivityExecutionContext.cs
- EntitySqlQueryCacheKey.cs
- NTAccount.cs
- OracleLob.cs
- MimeMultiPart.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DataGridViewCellStateChangedEventArgs.cs
- DriveInfo.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- EllipticalNodeOperations.cs
- SafeNativeMemoryHandle.cs
- DocumentsTrace.cs
- StringResourceManager.cs
- OleDbRowUpdatedEvent.cs
- ThousandthOfEmRealDoubles.cs
- SqlParameterizer.cs
- TextClipboardData.cs
- ReferenceEqualityComparer.cs
- XmlCharCheckingReader.cs
- HtmlInputControl.cs
- ImportDesigner.xaml.cs
- input.cs
- HttpListenerContext.cs
- METAHEADER.cs
- ToolboxBitmapAttribute.cs
- ApplicationManager.cs
- XmlDocumentSerializer.cs
- HttpPostedFile.cs
- GroupItemAutomationPeer.cs
- ParallelTimeline.cs
- CodeComment.cs
- MenuTracker.cs
- GatewayDefinition.cs
- ProxyGenerationError.cs
- StatementContext.cs
- PeerCollaborationPermission.cs
- MarkupProperty.cs
- Baml2006ReaderSettings.cs
- SqlWebEventProvider.cs
- InkSerializer.cs
- XmlSchemaValidator.cs
- AncillaryOps.cs
- SharedPersonalizationStateInfo.cs
- DecimalKeyFrameCollection.cs
- ProtocolsConfiguration.cs
- sqlstateclientmanager.cs
- WebServiceResponse.cs
- CollectionBuilder.cs
- RightsManagementPermission.cs
- CompositeDataBoundControl.cs
- SystemIPv6InterfaceProperties.cs
- RequestCachePolicyConverter.cs
- ColorContextHelper.cs
- HttpCookiesSection.cs
- TypographyProperties.cs
- NegotiateStream.cs
- SafeProcessHandle.cs
- HierarchicalDataBoundControl.cs
- DropDownList.cs
- ToolStripItemClickedEventArgs.cs
- CellTreeNodeVisitors.cs
- PathTooLongException.cs
- PromptBuilder.cs
- DataControlFieldCell.cs
- SwitchLevelAttribute.cs
- DataGridTablesFactory.cs
- RectangleHotSpot.cs
- SynchronizedDispatch.cs
- DbDeleteCommandTree.cs
- WindowsIPAddress.cs
- HwndStylusInputProvider.cs
- ControlsConfig.cs
- SortableBindingList.cs
- MulticastNotSupportedException.cs
- MsmqElementBase.cs
- Enlistment.cs
- SoapDocumentServiceAttribute.cs
- TreeViewBindingsEditor.cs
- SectionRecord.cs
- EventLogConfiguration.cs
- DynamicMethod.cs
- DataControlFieldCollection.cs
- BookmarkUndoUnit.cs
- WindowsPrincipal.cs