Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / TransactionBridge / Microsoft / Transactions / Wsat / Messaging / SupportingTokenBindingElement.cs / 1 / SupportingTokenBindingElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- // Defines the SupportingTokenBindingElement, which contributes a SupportingTokenListenerFactory using System; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Security; using Microsoft.Transactions.Wsat.Protocol; namespace Microsoft.Transactions.Wsat.Messaging { class SupportingTokenBindingElement : BindingElement { ProtocolVersion protocolVersion; SupportingTokenServiceCredentials serverCreds = new SupportingTokenServiceCredentials(); public SupportingTokenBindingElement(ProtocolVersion protocolVersion) { this.protocolVersion = protocolVersion; } SupportingTokenBindingElement(SupportingTokenBindingElement other) : base(other) { this.protocolVersion = other.ProtocolVersion; } public ProtocolVersion ProtocolVersion { get { return this.protocolVersion; } } public SupportingTokenServiceCredentials ServiceCredentials { get { return this.serverCreds; } } public override IChannelListenerBuildChannelListener (BindingContext context) { return new SupportingTokenChannelListener (this, context, this.serverCreds.TokenResolver); } public override bool CanBuildChannelListener (BindingContext context) { return context.CanBuildInnerChannelListener (); } public override BindingElement Clone() { return new SupportingTokenBindingElement(this); } public override T GetProperty (BindingContext context) { return context.GetInnerProperty (); } } } // 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
- UIElementParagraph.cs
- InternalCache.cs
- _BufferOffsetSize.cs
- GenericWebPart.cs
- Memoizer.cs
- XmlIlGenerator.cs
- PeerReferralPolicy.cs
- FixUp.cs
- RelationshipEnd.cs
- AssociationSetEnd.cs
- SoapTypeAttribute.cs
- XamlSerializationHelper.cs
- ArgumentNullException.cs
- ToolStripSystemRenderer.cs
- Int16AnimationUsingKeyFrames.cs
- CSharpCodeProvider.cs
- DataSourceProvider.cs
- DataMemberConverter.cs
- ModuleElement.cs
- UpdateTracker.cs
- ColorAnimation.cs
- InstalledVoice.cs
- safesecurityhelperavalon.cs
- PartitionerStatic.cs
- PersonalizationProviderHelper.cs
- ECDiffieHellman.cs
- FrameAutomationPeer.cs
- WindowsFormsHelpers.cs
- Base64Encoding.cs
- HelpEvent.cs
- ProfilePropertySettings.cs
- __Filters.cs
- SessionStateUtil.cs
- Int16Animation.cs
- MethodBody.cs
- SqlBulkCopyColumnMapping.cs
- SqlOuterApplyReducer.cs
- DocumentViewer.cs
- MobilePage.cs
- Itemizer.cs
- ColorDialog.cs
- ConstraintConverter.cs
- AsyncOperation.cs
- ViewBox.cs
- LambdaExpression.cs
- RichTextBox.cs
- SafeNativeMethods.cs
- XmlDataSource.cs
- UnaryNode.cs
- InfoCardAsymmetricCrypto.cs
- SimpleMailWebEventProvider.cs
- SQLInt64.cs
- NetworkInformationException.cs
- DataViewSettingCollection.cs
- StylusDevice.cs
- ExpressionBuilder.cs
- SafeHandles.cs
- ScrollEventArgs.cs
- WorkItem.cs
- _NestedMultipleAsyncResult.cs
- Parallel.cs
- DataSvcMapFileSerializer.cs
- GlyphRunDrawing.cs
- BitmapEffectRenderDataResource.cs
- HttpResponse.cs
- Win32PrintDialog.cs
- EdmValidator.cs
- Int64KeyFrameCollection.cs
- RotateTransform3D.cs
- SHA384Managed.cs
- BamlStream.cs
- Utils.cs
- PopupRoot.cs
- Soap.cs
- ContextMenuService.cs
- TableLayoutStyle.cs
- TableCellCollection.cs
- SchemaImporter.cs
- RegexReplacement.cs
- PolygonHotSpot.cs
- SettingsPropertyCollection.cs
- ConfigurationPermission.cs
- FileVersionInfo.cs
- initElementDictionary.cs
- ContractMapping.cs
- WsiProfilesElementCollection.cs
- ProfileEventArgs.cs
- _ConnectStream.cs
- ListControl.cs
- TextWriterTraceListener.cs
- CodeGenerator.cs
- ClientSettingsProvider.cs
- SymbolMethod.cs
- XmlSchemaExporter.cs
- HtmlLink.cs
- ExpressionVisitor.cs
- X509Utils.cs
- ContentFileHelper.cs
- ChangeInterceptorAttribute.cs
- WeakEventTable.cs