Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Transactions / WsatTransactionInfo.cs / 1 / WsatTransactionInfo.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Transactions { using System.ServiceModel.Security; using System.Transactions; using Microsoft.Transactions.Wsat.Messaging; class WsatTransactionInfo : TransactionInfo { WsatProxy wsatProxy; CoordinationContext context; RequestSecurityTokenResponse issuedToken; public WsatTransactionInfo(WsatProxy wsatProxy, CoordinationContext context, RequestSecurityTokenResponse issuedToken) { this.wsatProxy = wsatProxy; this.context = context; this.issuedToken = issuedToken; } public override Transaction UnmarshalTransaction() { Transaction tx; if (WsatIncomingTransactionCache.Find(this.context.Identifier, out tx)) return tx; tx = this.wsatProxy.UnmarshalTransaction(this); // Cache extended information for subsequent marshal operations WsatExtendedInformation info = new WsatExtendedInformation(context.Identifier, context.Expires); info.TryCache(tx); // Cache the unmarshalled transaction for subsequent unmarshal operations WsatIncomingTransactionCache.Cache(this.context.Identifier, tx); return tx; } public CoordinationContext Context { get { return this.context; } } public RequestSecurityTokenResponse IssuedToken { get { return this.issuedToken; } } } } // 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
- Point3DCollectionConverter.cs
- StorageMappingItemLoader.cs
- WindowsScrollBarBits.cs
- ToolStripArrowRenderEventArgs.cs
- DbConnectionHelper.cs
- BooleanProjectedSlot.cs
- IdnElement.cs
- ColumnWidthChangedEvent.cs
- AxWrapperGen.cs
- MultiTrigger.cs
- DataGridViewCellMouseEventArgs.cs
- XmlSchemaComplexContentExtension.cs
- ExpandedProjectionNode.cs
- DataGridRowAutomationPeer.cs
- ThreadExceptionEvent.cs
- SmiContextFactory.cs
- TextChange.cs
- ChannelTracker.cs
- WeakHashtable.cs
- DoubleAverageAggregationOperator.cs
- altserialization.cs
- DataGridRowHeaderAutomationPeer.cs
- ReadWriteObjectLock.cs
- UrlPath.cs
- NavigateEvent.cs
- OraclePermissionAttribute.cs
- AliasedSlot.cs
- DataGridAutoFormatDialog.cs
- FixedHyperLink.cs
- BaseHashHelper.cs
- CompilerInfo.cs
- TextPatternIdentifiers.cs
- CharConverter.cs
- Set.cs
- AppDomainShutdownMonitor.cs
- Types.cs
- ValueTable.cs
- ConfigurationLocationCollection.cs
- RegexCapture.cs
- ChildrenQuery.cs
- Switch.cs
- XpsDocument.cs
- DbCommandTree.cs
- SafeFileMapViewHandle.cs
- Int32CollectionConverter.cs
- FileVersion.cs
- WeakReadOnlyCollection.cs
- shaperfactory.cs
- InstallHelper.cs
- Base64Decoder.cs
- SrgsElement.cs
- SqlUserDefinedTypeAttribute.cs
- MailWriter.cs
- SoapRpcMethodAttribute.cs
- RichTextBoxContextMenu.cs
- FontFamilyConverter.cs
- SkewTransform.cs
- TcpHostedTransportConfiguration.cs
- ListControl.cs
- PersonalizableAttribute.cs
- ToolboxBitmapAttribute.cs
- KeyboardDevice.cs
- SmtpCommands.cs
- NameNode.cs
- XmlTextAttribute.cs
- HttpListenerException.cs
- BitmapEffectInput.cs
- WSFederationHttpSecurityElement.cs
- FileDetails.cs
- ArrayWithOffset.cs
- SqlProcedureAttribute.cs
- CheckPair.cs
- ListViewDesigner.cs
- ProcessModelInfo.cs
- TablePatternIdentifiers.cs
- TextModifierScope.cs
- BinHexEncoder.cs
- FieldToken.cs
- ResourceReader.cs
- AlternateView.cs
- autovalidator.cs
- BooleanFacetDescriptionElement.cs
- SafePEFileHandle.cs
- StickyNoteHelper.cs
- TypedReference.cs
- TouchEventArgs.cs
- COM2ExtendedUITypeEditor.cs
- TypeDescriptor.cs
- DashStyle.cs
- securitycriticaldataClass.cs
- MetaModel.cs
- XsltQilFactory.cs
- Attachment.cs
- RegistryKey.cs
- SqlDataSourceSelectingEventArgs.cs
- RbTree.cs
- WebOperationContext.cs
- QilTargetType.cs
- ShutDownListener.cs
- ChannelServices.cs