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
- Semaphore.cs
- elementinformation.cs
- TemplateNameScope.cs
- WebBrowserEvent.cs
- AppModelKnownContentFactory.cs
- DropShadowEffect.cs
- StringAttributeCollection.cs
- SamlSecurityToken.cs
- TimeSpanConverter.cs
- InvokeCompletedEventArgs.cs
- DetailsViewCommandEventArgs.cs
- InheritanceContextChangedEventManager.cs
- TriggerActionCollection.cs
- ViewKeyConstraint.cs
- LassoSelectionBehavior.cs
- CommonRemoteMemoryBlock.cs
- DataRowExtensions.cs
- XslAstAnalyzer.cs
- XPathDocumentNavigator.cs
- LabelDesigner.cs
- TypeConvertions.cs
- SqlPersonalizationProvider.cs
- ChangesetResponse.cs
- ExpressionPrefixAttribute.cs
- PagedDataSource.cs
- SettingsPropertyCollection.cs
- UnitySerializationHolder.cs
- SystemUdpStatistics.cs
- ToolTipAutomationPeer.cs
- DataSysAttribute.cs
- ToolStripItemCollection.cs
- PermissionSet.cs
- CharacterMetricsDictionary.cs
- DefaultHttpHandler.cs
- PropertyConverter.cs
- Operand.cs
- RenderContext.cs
- ZoneIdentityPermission.cs
- ServiceModelSectionGroup.cs
- XmlUrlResolver.cs
- Compilation.cs
- filewebresponse.cs
- FormViewUpdatedEventArgs.cs
- TransactionChannel.cs
- RegisteredHiddenField.cs
- CellLabel.cs
- UserNameSecurityTokenProvider.cs
- ManipulationStartedEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- MulticastNotSupportedException.cs
- CodeIdentifier.cs
- InternalCache.cs
- XmlSchemaProviderAttribute.cs
- SplayTreeNode.cs
- DefaultPropertyAttribute.cs
- InvokeMethodActivityDesigner.cs
- RegexTree.cs
- ArgumentException.cs
- ScriptReferenceBase.cs
- FontNamesConverter.cs
- WbmpConverter.cs
- _NegotiateClient.cs
- RtfControls.cs
- SynchronizingStream.cs
- SuspendDesigner.cs
- ReturnType.cs
- WeakReferenceList.cs
- OleDbReferenceCollection.cs
- Int64AnimationUsingKeyFrames.cs
- JulianCalendar.cs
- Rect3DConverter.cs
- DataGridRow.cs
- HtmlFormParameterWriter.cs
- DescriptionAttribute.cs
- SafePEFileHandle.cs
- PageContentCollection.cs
- DataSourceDesigner.cs
- SqlXmlStorage.cs
- LineServicesCallbacks.cs
- SQLMoney.cs
- SynchronizingStream.cs
- LocalizationParserHooks.cs
- ComponentChangedEvent.cs
- ListViewItemSelectionChangedEvent.cs
- SingleTagSectionHandler.cs
- DbConnectionPoolOptions.cs
- GridViewRowEventArgs.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ToReply.cs
- ImageCodecInfo.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- UrlRoutingHandler.cs
- DynamicActivity.cs
- HashHelper.cs
- RowToParametersTransformer.cs
- TreeViewImageIndexConverter.cs
- TextDecorations.cs
- OdbcTransaction.cs
- URLBuilder.cs
- BamlVersionHeader.cs