Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / TransactedBatchingElement.cs / 1 / TransactedBatchingElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; using System.ServiceModel.Description; public sealed partial class TransactedBatchingElement : BehaviorExtensionElement { [ConfigurationProperty(ConfigurationStrings.MaxBatchSize, DefaultValue = 0)] [IntegerValidator(MinValue = 0)] public int MaxBatchSize { get {return (int) base[ConfigurationStrings.MaxBatchSize]; } set {base[ConfigurationStrings.MaxBatchSize] = value; } } public override void CopyFrom(ServiceModelExtensionElement from) { base.CopyFrom(from); TransactedBatchingElement source = from as TransactedBatchingElement; #pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null this.MaxBatchSize = source.MaxBatchSize; } protected internal override object CreateBehavior() { return new TransactedBatchingBehavior(this.MaxBatchSize); } public override Type BehaviorType { get { return typeof(TransactedBatchingBehavior); } } } } // 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
- CqlGenerator.cs
- DecoratedNameAttribute.cs
- ProtectedConfigurationSection.cs
- ArglessEventHandlerProxy.cs
- Substitution.cs
- DelayedRegex.cs
- HostedElements.cs
- PackWebResponse.cs
- AnnotationResourceCollection.cs
- UserControlCodeDomTreeGenerator.cs
- EnumerableCollectionView.cs
- OdbcConnection.cs
- SynchronizationScope.cs
- PathSegment.cs
- HtmlInputRadioButton.cs
- Geometry3D.cs
- PeerNameRegistration.cs
- InputScopeAttribute.cs
- VirtualPathProvider.cs
- XmlDataCollection.cs
- ServicePointManagerElement.cs
- HttpRuntimeSection.cs
- CodeDirectionExpression.cs
- StringSource.cs
- CaseStatement.cs
- WorkflowServiceInstance.cs
- AuthenticationSection.cs
- DataGridViewTopLeftHeaderCell.cs
- PartialTrustVisibleAssembliesSection.cs
- CodeTypeReferenceCollection.cs
- WindowsAuthenticationEventArgs.cs
- SmiMetaDataProperty.cs
- DataBindingCollection.cs
- ListSortDescription.cs
- ScaleTransform3D.cs
- Visual3D.cs
- Tile.cs
- ExpressionBindings.cs
- RtfControls.cs
- X509Utils.cs
- LookupBindingPropertiesAttribute.cs
- DataPointer.cs
- WebPartDisplayModeEventArgs.cs
- RenderOptions.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SafeRegistryHandle.cs
- ProcessHostServerConfig.cs
- RootDesignerSerializerAttribute.cs
- RenderingEventArgs.cs
- MenuEventArgs.cs
- DataMisalignedException.cs
- ContentControl.cs
- FamilyTypeface.cs
- FrameworkName.cs
- DynamicAttribute.cs
- EUCJPEncoding.cs
- DataGridCommandEventArgs.cs
- ByteStreamGeometryContext.cs
- ValueTable.cs
- GeneralTransform.cs
- Substitution.cs
- FloaterParaClient.cs
- SecurityResources.cs
- ExceptionCollection.cs
- ImageField.cs
- OrderByQueryOptionExpression.cs
- TransformerConfigurationWizardBase.cs
- _emptywebproxy.cs
- XMLUtil.cs
- XmlRawWriterWrapper.cs
- XmlEntity.cs
- CollaborationHelperFunctions.cs
- CompModSwitches.cs
- RequiredFieldValidator.cs
- ECDsaCng.cs
- CryptoProvider.cs
- TextBox.cs
- PerformanceCounterPermission.cs
- CellTreeNode.cs
- CmsInterop.cs
- Point3DKeyFrameCollection.cs
- BidOverLoads.cs
- CaseDesigner.xaml.cs
- FixedTextPointer.cs
- TransformPatternIdentifiers.cs
- EncryptedData.cs
- ToolStripGripRenderEventArgs.cs
- ListenerSessionConnection.cs
- HtmlTable.cs
- HeaderCollection.cs
- ExpressionBuilder.cs
- StatusBarPanel.cs
- CommandPlan.cs
- WebProxyScriptElement.cs
- WmpBitmapEncoder.cs
- CapabilitiesSection.cs
- Exception.cs
- RtfFormatStack.cs
- PropertyPathWorker.cs
- HttpHandler.cs