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
- SmtpCommands.cs
- MatrixTransform3D.cs
- ValidationErrorInfo.cs
- StateFinalizationActivity.cs
- NodeFunctions.cs
- MappingItemCollection.cs
- ExpandCollapseProviderWrapper.cs
- SynchronizationContext.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- HtmlInputHidden.cs
- ForEachDesigner.xaml.cs
- UndirectedGraph.cs
- SqlSelectStatement.cs
- SlipBehavior.cs
- ByteAnimation.cs
- SiteMapNodeCollection.cs
- URLIdentityPermission.cs
- ClusterSafeNativeMethods.cs
- Vector3dCollection.cs
- DispatcherBuilder.cs
- SystemDropShadowChrome.cs
- Model3DGroup.cs
- TypeUtil.cs
- TextSerializer.cs
- documentsequencetextpointer.cs
- SamlAttribute.cs
- ArcSegment.cs
- Exceptions.cs
- CustomExpression.cs
- WorkflowNamespace.cs
- GPPOINT.cs
- DesignerSelectionListAdapter.cs
- Path.cs
- SerializerProvider.cs
- ToggleButtonAutomationPeer.cs
- NameObjectCollectionBase.cs
- XmlKeywords.cs
- FixUpCollection.cs
- ColorAnimationBase.cs
- XmlCharacterData.cs
- EtwTrace.cs
- Condition.cs
- KeyGestureConverter.cs
- InputLanguageSource.cs
- BeginCreateSecurityTokenRequest.cs
- ComponentManagerBroker.cs
- DiscardableAttribute.cs
- Compiler.cs
- NamespaceMapping.cs
- SoapFault.cs
- DataGridAddNewRow.cs
- IndexedEnumerable.cs
- BehaviorEditorPart.cs
- Types.cs
- Errors.cs
- TreeView.cs
- Header.cs
- BackStopAuthenticationModule.cs
- Polygon.cs
- ObjectCloneHelper.cs
- ToolStripSettings.cs
- SafeHandles.cs
- ReadOnlyNameValueCollection.cs
- CanonicalFormWriter.cs
- ProviderBase.cs
- MultiTrigger.cs
- SecurityState.cs
- HtmlElementCollection.cs
- FileDetails.cs
- Select.cs
- MetadataArtifactLoader.cs
- WebPartCollection.cs
- OrderByExpression.cs
- SafeCertificateStore.cs
- CodeCompiler.cs
- FontFamilyConverter.cs
- ConfigXmlWhitespace.cs
- PropertyDescriptorCollection.cs
- ExpressionVisitorHelpers.cs
- altserialization.cs
- SchemaTypeEmitter.cs
- UniformGrid.cs
- PersonalizationProviderHelper.cs
- CommandManager.cs
- BypassElement.cs
- IntPtr.cs
- XmlSubtreeReader.cs
- DurableErrorHandler.cs
- __Filters.cs
- TemplateParser.cs
- LongTypeConverter.cs
- Match.cs
- TabPageDesigner.cs
- HotSpot.cs
- PasswordRecovery.cs
- EncodingNLS.cs
- SystemDiagnosticsSection.cs
- FontClient.cs
- Logging.cs
- MemberExpression.cs