Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / CallbackDebugElement.cs / 1 / CallbackDebugElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.ServiceModel.Description; public sealed partial class CallbackDebugElement : BehaviorExtensionElement { public CallbackDebugElement() { } [ConfigurationProperty(ConfigurationStrings.IncludeExceptionDetailInFaults, DefaultValue = false)] public bool IncludeExceptionDetailInFaults { get { return (bool)base[ConfigurationStrings.IncludeExceptionDetailInFaults]; } set { base[ConfigurationStrings.IncludeExceptionDetailInFaults] = value; } } public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); CallbackDebugElement source = (CallbackDebugElement)from; #pragma warning suppress 56506 //[....]; base.CopyFrom() check for 'from' being null this.IncludeExceptionDetailInFaults = source.IncludeExceptionDetailInFaults; } protected internal override object CreateBehavior() { return new CallbackDebugBehavior(this.IncludeExceptionDetailInFaults); } public override Type BehaviorType { get { return typeof(CallbackDebugBehavior); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConditionedDesigner.cs
- SafeRightsManagementQueryHandle.cs
- DoubleKeyFrameCollection.cs
- MarkupCompiler.cs
- FileClassifier.cs
- PathTooLongException.cs
- MultipartIdentifier.cs
- CancelRequestedRecord.cs
- ParserStreamGeometryContext.cs
- EventDescriptorCollection.cs
- AppModelKnownContentFactory.cs
- GraphicsPath.cs
- HyperlinkAutomationPeer.cs
- DispatcherTimer.cs
- BaseTemplateBuildProvider.cs
- FieldNameLookup.cs
- ScrollData.cs
- ProbeMatchesMessage11.cs
- XmlStringTable.cs
- DeviceContexts.cs
- UITypeEditor.cs
- ExpressionParser.cs
- RegexCompiler.cs
- LoginUtil.cs
- PrintEvent.cs
- DataControlFieldCollection.cs
- InkCanvas.cs
- CompatibleComparer.cs
- SafeReversePInvokeHandle.cs
- MultitargetUtil.cs
- CommandID.cs
- ConvertTextFrag.cs
- DataGridViewCheckBoxColumn.cs
- SrgsRuleRef.cs
- HashAlgorithm.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- TemplateBindingExtension.cs
- DesignerActionUIStateChangeEventArgs.cs
- RoleManagerModule.cs
- OutgoingWebResponseContext.cs
- RectangleGeometry.cs
- XpsPackagingException.cs
- RtfToXamlLexer.cs
- RecognizedPhrase.cs
- SHA384Managed.cs
- MarkerProperties.cs
- AnnotationObservableCollection.cs
- XmlLoader.cs
- CollectionBase.cs
- LinqDataSourceUpdateEventArgs.cs
- DataTableReaderListener.cs
- CodeTypeMember.cs
- AnnotationElement.cs
- UnsafeNativeMethodsTablet.cs
- SimpleRecyclingCache.cs
- CustomExpression.cs
- ParagraphResult.cs
- TransformedBitmap.cs
- Debug.cs
- BigInt.cs
- XmlLanguageConverter.cs
- LinearQuaternionKeyFrame.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SerializationFieldInfo.cs
- EntitySqlQueryCacheEntry.cs
- ChangeToolStripParentVerb.cs
- ResXFileRef.cs
- WindowsRichEdit.cs
- DragEvent.cs
- SqlAliaser.cs
- SiteMapSection.cs
- ProvidePropertyAttribute.cs
- ContractNamespaceAttribute.cs
- RegexStringValidatorAttribute.cs
- XmlDocumentSurrogate.cs
- XamlSerializerUtil.cs
- VisualBrush.cs
- SspiWrapper.cs
- List.cs
- WSSecureConversationFeb2005.cs
- OutputCacheProfileCollection.cs
- WebPartMenu.cs
- StorageMappingItemLoader.cs
- PropertyStore.cs
- ModifierKeysConverter.cs
- ViewPort3D.cs
- DocumentsTrace.cs
- LayoutTableCell.cs
- StylusPointPropertyUnit.cs
- ByteStorage.cs
- TextSearch.cs
- TabletCollection.cs
- WindowsFormsHelpers.cs
- EnvironmentPermission.cs
- TickBar.cs
- WebBrowserNavigatingEventHandler.cs
- ZipArchive.cs
- XmlDataProvider.cs
- ToolboxComponentsCreatingEventArgs.cs
- GeometryCollection.cs