Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Dispatcher / ImmutableClientRuntime.cs / 1 / ImmutableClientRuntime.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Dispatcher { using System; using System.ServiceModel.Channels; using System.ServiceModel; using System.Collections.Generic; using System.Collections; using System.Reflection; using System.Runtime.Remoting.Messaging; using System.Transactions; using System.ServiceModel.Transactions; using AsyncResult = System.ServiceModel.AsyncResult; using System.Security; class ImmutableClientRuntime { int correlationCount; bool addTransactionFlowProperties; IInteractiveChannelInitializer[] interactiveChannelInitializers; IClientOperationSelector operationSelector; IChannelInitializer[] channelInitializers; IClientMessageInspector[] messageInspectors; Dictionaryoperations; ProxyOperationRuntime unhandled; bool useSynchronizationContext; private bool validateMustUnderstand; internal ImmutableClientRuntime(ClientRuntime behavior) { this.channelInitializers = EmptyArray .ToArray(behavior.ChannelInitializers); this.interactiveChannelInitializers = EmptyArray .ToArray(behavior.InteractiveChannelInitializers); this.messageInspectors = EmptyArray .ToArray(behavior.MessageInspectors); this.operationSelector = behavior.OperationSelector; this.useSynchronizationContext = behavior.UseSynchronizationContext; this.validateMustUnderstand = behavior.ValidateMustUnderstand; this.unhandled = new ProxyOperationRuntime(behavior.UnhandledClientOperation, this); this.addTransactionFlowProperties = behavior.AddTransactionFlowProperties; this.operations = new Dictionary (); for (int i=0; i (result); } } } } // 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
- ColumnMapTranslator.cs
- WindowsListViewItemCheckBox.cs
- CookieProtection.cs
- ButtonFlatAdapter.cs
- ResXResourceWriter.cs
- ResourceReader.cs
- autovalidator.cs
- XmlElementList.cs
- SqlCacheDependencySection.cs
- TableItemProviderWrapper.cs
- QueryConverter.cs
- EnumConverter.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- ColumnHeader.cs
- LockCookie.cs
- WindowAutomationPeer.cs
- SecurityNegotiationException.cs
- SQLMembershipProvider.cs
- IndexedString.cs
- RegexParser.cs
- DataGridRowEventArgs.cs
- CreateUserWizard.cs
- DelayedRegex.cs
- HealthMonitoringSectionHelper.cs
- X509CertificateClaimSet.cs
- WsdlInspector.cs
- ExceptionHandlers.cs
- SmtpDigestAuthenticationModule.cs
- _SecureChannel.cs
- SoapInteropTypes.cs
- DefaultTypeArgumentAttribute.cs
- CapabilitiesPattern.cs
- ThaiBuddhistCalendar.cs
- ErrorFormatter.cs
- DeferredElementTreeState.cs
- BaseParser.cs
- CommandValueSerializer.cs
- StorageComplexTypeMapping.cs
- OleDbParameterCollection.cs
- DBSqlParser.cs
- PropertyCollection.cs
- MediaTimeline.cs
- ValidateNames.cs
- ObjectTag.cs
- InternalConfigRoot.cs
- FileUpload.cs
- IList.cs
- PartialClassGenerationTaskInternal.cs
- FormsAuthenticationConfiguration.cs
- RelationshipEnd.cs
- MouseGestureValueSerializer.cs
- XmlSchemaInferenceException.cs
- DeviceContext2.cs
- TreeViewImageGenerator.cs
- BaseConfigurationRecord.cs
- XPathDocumentIterator.cs
- TriState.cs
- TagPrefixInfo.cs
- DesignTimeVisibleAttribute.cs
- ExpressionBuilder.cs
- StylusPointCollection.cs
- HandlerBase.cs
- BaseUriWithWildcard.cs
- LinqDataSourceValidationException.cs
- AddInProcess.cs
- StylusPointProperty.cs
- StateMachine.cs
- MemoryPressure.cs
- Int64Animation.cs
- PopupRootAutomationPeer.cs
- LinqMaximalSubtreeNominator.cs
- AssemblyHash.cs
- BitmapEffectState.cs
- CheckBox.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- AddressAlreadyInUseException.cs
- ValidationErrorEventArgs.cs
- GenericWebPart.cs
- ControlPaint.cs
- DataServiceQuery.cs
- HttpCookieCollection.cs
- AddressAlreadyInUseException.cs
- BinaryObjectWriter.cs
- MeasurementDCInfo.cs
- GeometryCombineModeValidation.cs
- SqlParameterCollection.cs
- CodeAttributeArgumentCollection.cs
- IHttpResponseInternal.cs
- HitTestParameters.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ServiceOperationListItemList.cs
- DecoratedNameAttribute.cs
- VSWCFServiceContractGenerator.cs
- IOThreadScheduler.cs
- DocumentGrid.cs
- HotSpotCollection.cs
- MetricEntry.cs
- RequestCachingSection.cs
- ListSourceHelper.cs
- WinOEToolBoxItem.cs