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
- HostingEnvironment.cs
- XmlDataCollection.cs
- ArrangedElementCollection.cs
- TableRow.cs
- SelectingProviderEventArgs.cs
- DispatcherObject.cs
- ErrorWrapper.cs
- TextEditorTables.cs
- Image.cs
- PolyLineSegmentFigureLogic.cs
- XmlQueryOutput.cs
- CatalogZoneBase.cs
- DesignSurfaceServiceContainer.cs
- StylusShape.cs
- BuildDependencySet.cs
- Calendar.cs
- PipeConnection.cs
- BooleanAnimationBase.cs
- Environment.cs
- TimeSpanMinutesConverter.cs
- PointIndependentAnimationStorage.cs
- ToolStripEditorManager.cs
- DataContractSet.cs
- Rectangle.cs
- XMLDiffLoader.cs
- ObjectTypeMapping.cs
- XamlTreeBuilderBamlRecordWriter.cs
- PagerSettings.cs
- ObjectNavigationPropertyMapping.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- DoubleAnimation.cs
- DrawingBrush.cs
- UserControl.cs
- PopupEventArgs.cs
- ReferenceConverter.cs
- UnknownWrapper.cs
- PerformanceCounterManager.cs
- UrlMappingCollection.cs
- Label.cs
- DocumentXPathNavigator.cs
- ConfigXmlSignificantWhitespace.cs
- AnimationTimeline.cs
- IisTraceWebEventProvider.cs
- StringSorter.cs
- XPathArrayIterator.cs
- LocationReferenceValue.cs
- Model3DCollection.cs
- PenContexts.cs
- XmlnsDefinitionAttribute.cs
- MouseGestureConverter.cs
- TableLayoutPanelDesigner.cs
- DictionaryBase.cs
- RectangleHotSpot.cs
- HttpFileCollectionBase.cs
- BrowserTree.cs
- MostlySingletonList.cs
- TimeSpanValidator.cs
- BmpBitmapDecoder.cs
- DecimalAnimation.cs
- TableFieldsEditor.cs
- SmtpReplyReader.cs
- IConvertible.cs
- Queue.cs
- Highlights.cs
- XmlAttributeHolder.cs
- PointHitTestParameters.cs
- Clock.cs
- Exceptions.cs
- HttpClientChannel.cs
- Clause.cs
- ArgumentValidation.cs
- HttpDigestClientCredential.cs
- IntSecurity.cs
- ToolStripContentPanel.cs
- srgsitem.cs
- SqlCharStream.cs
- XmlElementList.cs
- PropertyItem.cs
- LockedHandleGlyph.cs
- CodeGroup.cs
- BaseCodeDomTreeGenerator.cs
- WebBodyFormatMessageProperty.cs
- SoapExtensionReflector.cs
- XmlEntity.cs
- DiagnosticSection.cs
- DiscoveryDocumentReference.cs
- SqlSelectStatement.cs
- DataGridViewCheckBoxColumn.cs
- KoreanCalendar.cs
- TaskbarItemInfo.cs
- namescope.cs
- StringConcat.cs
- BindingContext.cs
- FontCacheUtil.cs
- MtomMessageEncodingBindingElement.cs
- IPAddress.cs
- SrgsGrammar.cs
- DataGridViewTextBoxColumn.cs
- DataGridViewHitTestInfo.cs
- Compiler.cs