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
- StartUpEventArgs.cs
- ListViewCommandEventArgs.cs
- TransformGroup.cs
- AssociationSetMetadata.cs
- SiteMapProvider.cs
- DataRecordInternal.cs
- FormsAuthenticationUserCollection.cs
- TripleDES.cs
- ExpressionBuilder.cs
- ReverseQueryOperator.cs
- PathSegmentCollection.cs
- JavaScriptObjectDeserializer.cs
- DataTableMappingCollection.cs
- DriveNotFoundException.cs
- VBIdentifierDesigner.xaml.cs
- _OverlappedAsyncResult.cs
- RegexReplacement.cs
- WebPartUtil.cs
- _KerberosClient.cs
- fixedPageContentExtractor.cs
- ManagedWndProcTracker.cs
- pingexception.cs
- DetailsViewAutoFormat.cs
- IdentityNotMappedException.cs
- TagPrefixCollection.cs
- VariableQuery.cs
- BooleanKeyFrameCollection.cs
- recordstate.cs
- VariableValue.cs
- RenderingEventArgs.cs
- XmlAnyAttributeAttribute.cs
- DocumentViewerBase.cs
- WpfMemberInvoker.cs
- WorkflowInstance.cs
- RadioButtonAutomationPeer.cs
- ObservableCollection.cs
- PeerEndPoint.cs
- ListItemsPage.cs
- DriveNotFoundException.cs
- UnaryExpressionHelper.cs
- QueryServiceConfigHandle.cs
- CodeVariableReferenceExpression.cs
- VerticalConnector.xaml.cs
- SQLInt16.cs
- PeerNearMe.cs
- InstancePersistenceEvent.cs
- CellParagraph.cs
- DataGridColumnHeader.cs
- ThicknessAnimationBase.cs
- DocumentPageTextView.cs
- ListBoxDesigner.cs
- SqlLiftWhereClauses.cs
- Size3DConverter.cs
- DynamicControl.cs
- AspNetHostingPermission.cs
- _ProxyRegBlob.cs
- EntityDataSourceDesigner.cs
- DataComponentMethodGenerator.cs
- SimpleExpression.cs
- NetworkInformationPermission.cs
- WebWorkflowRole.cs
- ProfileBuildProvider.cs
- ThumbAutomationPeer.cs
- InkCanvasSelectionAdorner.cs
- SchemaElement.cs
- GlobalizationAssembly.cs
- Roles.cs
- Visual3D.cs
- RadioButtonList.cs
- ContentPlaceHolderDesigner.cs
- MenuTracker.cs
- ContextStaticAttribute.cs
- ObjectCacheSettings.cs
- GeneralTransform.cs
- SqlWriter.cs
- LineInfo.cs
- HyperLinkField.cs
- HttpConfigurationContext.cs
- CodePrimitiveExpression.cs
- SystemFonts.cs
- PageRanges.cs
- QilLiteral.cs
- StyleXamlParser.cs
- LayoutSettings.cs
- WebSysDefaultValueAttribute.cs
- TypeConverter.cs
- StandardToolWindows.cs
- IsolatedStorageSecurityState.cs
- TabletDeviceInfo.cs
- DataGridBoolColumn.cs
- SqlProfileProvider.cs
- ApplyTemplatesAction.cs
- SamlAuthorizationDecisionClaimResource.cs
- Exceptions.cs
- XmlSchemaObjectTable.cs
- DesignerHelpers.cs
- DataServiceProcessingPipelineEventArgs.cs
- XsltContext.cs
- HttpWriter.cs
- TableLayout.cs