Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.WorkflowServices / System / ServiceModel / Dispatcher / WorkflowOperationErrorHandler.cs / 1305376 / WorkflowOperationErrorHandler.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System.ServiceModel.Channels; class WorkflowOperationErrorHandler : DurableErrorHandler { public WorkflowOperationErrorHandler(bool includeDebugInfo) : base(includeDebugInfo) { } public static Exception CreateUnhandledException(Exception innerException) { if (innerException == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("innerException"); } return new WorkflowOperationUnhandledException(innerException); } protected override Exception GetExceptionToTrace(Exception error) { return error.InnerException; } protected override bool IsUserCodeException(Exception error) { return error is WorkflowOperationUnhandledException; } class WorkflowOperationUnhandledException : Exception { public WorkflowOperationUnhandledException(Exception innerException) : base(SR2.GetString(SR2.WorkflowOperationUnhandledException), innerException) { } } } } // 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
- DbTransaction.cs
- CLSCompliantAttribute.cs
- TdsParser.cs
- DataGridCellsPanel.cs
- TimeSpanValidatorAttribute.cs
- UnknownBitmapEncoder.cs
- Condition.cs
- QueryConverter.cs
- TrackBarDesigner.cs
- HtmlLabelAdapter.cs
- DocumentPageViewAutomationPeer.cs
- DataGridViewTopLeftHeaderCell.cs
- MatrixAnimationBase.cs
- ListBoxItemAutomationPeer.cs
- DataMember.cs
- KerberosTokenFactoryCredential.cs
- IndentedWriter.cs
- UIElementPropertyUndoUnit.cs
- XsltOutput.cs
- KeyTime.cs
- IUnknownConstantAttribute.cs
- HttpGetServerProtocol.cs
- XmlSchemaComplexContentExtension.cs
- ServiceSecurityAuditElement.cs
- StartUpEventArgs.cs
- MetaType.cs
- DataRow.cs
- UiaCoreApi.cs
- UrlPath.cs
- XmlnsCompatibleWithAttribute.cs
- GlyphInfoList.cs
- ControlValuePropertyAttribute.cs
- MdImport.cs
- ProgressBarRenderer.cs
- EdmValidator.cs
- VBCodeProvider.cs
- Stack.cs
- Light.cs
- RectAnimationUsingKeyFrames.cs
- ThreadStartException.cs
- DataSourceSelectArguments.cs
- ManagedWndProcTracker.cs
- ProfilePropertySettings.cs
- EventTrigger.cs
- LocalFileSettingsProvider.cs
- CreateCardRequest.cs
- util.cs
- DragAssistanceManager.cs
- ToolStripDropTargetManager.cs
- GenericAuthenticationEventArgs.cs
- base64Transforms.cs
- AutomationProperties.cs
- StreamReader.cs
- TableLayoutRowStyleCollection.cs
- StringUtil.cs
- SmtpDigestAuthenticationModule.cs
- PositiveTimeSpanValidator.cs
- BinaryObjectReader.cs
- XPathExpr.cs
- NgenServicingAttributes.cs
- UpdateCommand.cs
- HighlightComponent.cs
- BaseTypeViewSchema.cs
- StrokeRenderer.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- FileUpload.cs
- DictionaryEntry.cs
- ModuleConfigurationInfo.cs
- ParserContext.cs
- FontFamilyIdentifier.cs
- DefaultEventAttribute.cs
- XmlSchemaSequence.cs
- DataGridViewCellPaintingEventArgs.cs
- FullTextLine.cs
- NavigationHelper.cs
- odbcmetadatafactory.cs
- XmlUtf8RawTextWriter.cs
- MachineKeySection.cs
- PerformanceCounterLib.cs
- FixedSOMContainer.cs
- datacache.cs
- JournalNavigationScope.cs
- CombinedGeometry.cs
- DiscriminatorMap.cs
- Odbc32.cs
- EncryptedPackageFilter.cs
- ThumbButtonInfo.cs
- ExpandSegment.cs
- UIPermission.cs
- HttpHostedTransportConfiguration.cs
- Column.cs
- PtsContext.cs
- SafeTokenHandle.cs
- ReadOnlyActivityGlyph.cs
- Marshal.cs
- EmptyQuery.cs
- UIElement3D.cs
- ArgumentValidation.cs
- WindowsTitleBar.cs
- DrawItemEvent.cs