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
- ThreadStaticAttribute.cs
- TextDpi.cs
- SoapIgnoreAttribute.cs
- iisPickupDirectory.cs
- WebBrowserPermission.cs
- RolePrincipal.cs
- ParsedAttributeCollection.cs
- UnsignedPublishLicense.cs
- DebugHandleTracker.cs
- SelectionChangedEventArgs.cs
- Resources.Designer.cs
- DataStreams.cs
- IPipelineRuntime.cs
- Interop.cs
- DocumentPageViewAutomationPeer.cs
- ThreadExceptionEvent.cs
- SiteMapDataSourceView.cs
- GeometryValueSerializer.cs
- IdleTimeoutMonitor.cs
- BindingEntityInfo.cs
- DictionaryEntry.cs
- SplitterCancelEvent.cs
- CodeGenerator.cs
- ExpressionPrinter.cs
- InvalidPropValue.cs
- Command.cs
- XomlDesignerLoader.cs
- AssemblyCollection.cs
- DeflateEmulationStream.cs
- WebZoneDesigner.cs
- Aggregates.cs
- HashHelpers.cs
- GeneralTransformGroup.cs
- Geometry.cs
- GlobalEventManager.cs
- ContentPosition.cs
- Rotation3D.cs
- AnimationTimeline.cs
- JumpPath.cs
- Message.cs
- HostSecurityManager.cs
- DocumentAutomationPeer.cs
- Typography.cs
- ServiceProviders.cs
- IndicShape.cs
- ContentValidator.cs
- SqlCacheDependency.cs
- QueryOutputWriter.cs
- BufferedStream.cs
- Panel.cs
- AnnotationResourceCollection.cs
- UnsafeNativeMethods.cs
- IListConverters.cs
- DispatcherEventArgs.cs
- CreateRefExpr.cs
- ClientTargetSection.cs
- _SpnDictionary.cs
- GetMemberBinder.cs
- SecureStringHasher.cs
- SafeFileMappingHandle.cs
- Viewport3DAutomationPeer.cs
- SubstitutionResponseElement.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ListView.cs
- PrtTicket_Public.cs
- TerminatingOperationBehavior.cs
- ProxySimple.cs
- TimeManager.cs
- HTMLTextWriter.cs
- WhitespaceRuleReader.cs
- DateTimeValueSerializerContext.cs
- TextTreeUndoUnit.cs
- OpenTypeLayoutCache.cs
- ComIntegrationManifestGenerator.cs
- LabelLiteral.cs
- StandardBindingOptionalReliableSessionElement.cs
- SessionEndingEventArgs.cs
- Splitter.cs
- OdbcParameterCollection.cs
- RootDesignerSerializerAttribute.cs
- IconConverter.cs
- Journal.cs
- APCustomTypeDescriptor.cs
- ButtonBaseAdapter.cs
- Normalization.cs
- BindingExpressionUncommonField.cs
- NavigationProperty.cs
- SmiRecordBuffer.cs
- ToolStripComboBox.cs
- WebPartDisplayModeCollection.cs
- BitConverter.cs
- TextFormatterImp.cs
- BindValidator.cs
- ScrollableControl.cs
- LineInfo.cs
- XmlNodeReader.cs
- SHA1.cs
- PropertyGridEditorPart.cs
- LifetimeServices.cs
- IgnoreFileBuildProvider.cs