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
- MissingFieldException.cs
- HttpProfileBase.cs
- SecurityContextSecurityToken.cs
- GridItemProviderWrapper.cs
- Light.cs
- ValidationHelper.cs
- FastEncoder.cs
- UpdateRecord.cs
- TileBrush.cs
- QilFactory.cs
- Thread.cs
- LoginView.cs
- Application.cs
- MessageQueueAccessControlEntry.cs
- Queue.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- _FtpControlStream.cs
- DefaultMergeHelper.cs
- Executor.cs
- PreloadedPackages.cs
- Expression.cs
- EllipseGeometry.cs
- BamlTreeMap.cs
- SecurityContext.cs
- ColorMatrix.cs
- ResourceDefaultValueAttribute.cs
- SortDescriptionCollection.cs
- ContentDefinition.cs
- ObjectHandle.cs
- StringStorage.cs
- FaultContext.cs
- DynamicILGenerator.cs
- ToggleButton.cs
- SecurityTokenRequirement.cs
- NativeMethods.cs
- MultitargetingHelpers.cs
- TaskFormBase.cs
- KeysConverter.cs
- _SslState.cs
- FixedHighlight.cs
- PeerDuplexChannelListener.cs
- GB18030Encoding.cs
- ClosableStream.cs
- sqlstateclientmanager.cs
- Interop.cs
- SqlNotificationEventArgs.cs
- CapiSafeHandles.cs
- ObjectDataProvider.cs
- TimeStampChecker.cs
- DynamicObjectAccessor.cs
- ContentElement.cs
- CompositeKey.cs
- XmlNodeReader.cs
- ReliableDuplexSessionChannel.cs
- SemanticTag.cs
- ManualResetEvent.cs
- LexicalChunk.cs
- EmptyElement.cs
- UTF8Encoding.cs
- CodeRemoveEventStatement.cs
- DiscoveryMessageSequence.cs
- InterleavedZipPartStream.cs
- SHA256Managed.cs
- SimpleBitVector32.cs
- DataAdapter.cs
- SQLDateTimeStorage.cs
- DataGridViewUtilities.cs
- StartUpEventArgs.cs
- TextMetrics.cs
- itemelement.cs
- GridViewItemAutomationPeer.cs
- SectionVisual.cs
- Label.cs
- BrushMappingModeValidation.cs
- Emitter.cs
- SettingsContext.cs
- DataControlField.cs
- SimpleHandlerFactory.cs
- DataGridItemCollection.cs
- ValueTable.cs
- ExpressionEvaluator.cs
- MenuBase.cs
- DecimalStorage.cs
- InternalsVisibleToAttribute.cs
- TextFragmentEngine.cs
- SerializationStore.cs
- SqlDataSourceCommandEventArgs.cs
- MediaTimeline.cs
- DesignRelationCollection.cs
- GridViewRowPresenter.cs
- OciHandle.cs
- OfTypeExpression.cs
- TableItemPattern.cs
- StylusPointPropertyUnit.cs
- FormViewInsertedEventArgs.cs
- ListViewAutomationPeer.cs
- WsdlBuildProvider.cs
- RepeatInfo.cs
- ArraySortHelper.cs
- StrokeNode.cs