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
- DelayedRegex.cs
- RelationshipType.cs
- TagNameToTypeMapper.cs
- DataGridViewColumnCollectionDialog.cs
- AppDomainUnloadedException.cs
- KeysConverter.cs
- LinkLabel.cs
- UIPropertyMetadata.cs
- ReflectTypeDescriptionProvider.cs
- SignatureToken.cs
- ChtmlPhoneCallAdapter.cs
- ToolStripItemTextRenderEventArgs.cs
- OdbcParameterCollection.cs
- MatrixTransform.cs
- ClosableStream.cs
- Constants.cs
- mediaeventargs.cs
- SecurityManager.cs
- RecognizeCompletedEventArgs.cs
- ProfileInfo.cs
- Bold.cs
- HtmlLiteralTextAdapter.cs
- HyperLinkStyle.cs
- StdValidatorsAndConverters.cs
- XmlILStorageConverter.cs
- CursorConverter.cs
- ForwardPositionQuery.cs
- TableLayoutRowStyleCollection.cs
- InnerItemCollectionView.cs
- Evidence.cs
- IISUnsafeMethods.cs
- MultiDataTrigger.cs
- NamespaceQuery.cs
- NotImplementedException.cs
- LocalizationComments.cs
- LowerCaseStringConverter.cs
- DecimalConstantAttribute.cs
- FontStretchConverter.cs
- PolicyUtility.cs
- ConfigsHelper.cs
- MediaElement.cs
- Transactions.cs
- FixedSOMTableCell.cs
- KeyValuePair.cs
- XmlImplementation.cs
- DecimalAnimationBase.cs
- ApplicationDirectory.cs
- ClassHandlersStore.cs
- TreeBuilderXamlTranslator.cs
- SafeRightsManagementSessionHandle.cs
- HttpPostedFile.cs
- XmlSchemaExporter.cs
- SingleResultAttribute.cs
- PropertyIDSet.cs
- UnhandledExceptionEventArgs.cs
- SectionInput.cs
- XmlMtomReader.cs
- CryptoSession.cs
- EDesignUtil.cs
- ComplusTypeValidator.cs
- PropertyCollection.cs
- DependencyObjectType.cs
- EdmError.cs
- HTTPNotFoundHandler.cs
- WebServicesInteroperability.cs
- SourceFileBuildProvider.cs
- GroupBox.cs
- ZipPackage.cs
- ManipulationPivot.cs
- ContentWrapperAttribute.cs
- NativeMethods.cs
- LicenseProviderAttribute.cs
- ParamArrayAttribute.cs
- DataGridViewTextBoxColumn.cs
- OraclePermissionAttribute.cs
- DPTypeDescriptorContext.cs
- DataGridViewColumnCollection.cs
- WebEventTraceProvider.cs
- ExpandSegmentCollection.cs
- ReverseInheritProperty.cs
- OdbcParameterCollection.cs
- EdmPropertyAttribute.cs
- DBNull.cs
- SslStreamSecurityElement.cs
- MultiTrigger.cs
- WebPartManager.cs
- EmptyQuery.cs
- PresentationSource.cs
- PageThemeParser.cs
- PolyBezierSegment.cs
- DataServiceStreamProviderWrapper.cs
- PropertyMappingExceptionEventArgs.cs
- ImageClickEventArgs.cs
- ToolStripRendererSwitcher.cs
- CannotUnloadAppDomainException.cs
- ResolveResponseInfo.cs
- HandlerBase.cs
- IsolatedStorageFileStream.cs
- ModuleBuilderData.cs
- Rfc2898DeriveBytes.cs