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
- SqlError.cs
- unsafenativemethodstextservices.cs
- PageRequestManager.cs
- FileLogRecordEnumerator.cs
- RepeaterItemCollection.cs
- MediaTimeline.cs
- WinEventHandler.cs
- TextSearch.cs
- NativeBuffer.cs
- ToolStripArrowRenderEventArgs.cs
- ComboBox.cs
- HttpHandlersSection.cs
- ProtocolImporter.cs
- DbMetaDataColumnNames.cs
- ProcessHostServerConfig.cs
- ToolboxSnapDragDropEventArgs.cs
- SafeMILHandleMemoryPressure.cs
- ObjectCloneHelper.cs
- SmtpLoginAuthenticationModule.cs
- UpWmlPageAdapter.cs
- FilteredXmlReader.cs
- ExpressionBuilder.cs
- MediaPlayerState.cs
- AccessibleObject.cs
- ClientRoleProvider.cs
- SystemEvents.cs
- RowsCopiedEventArgs.cs
- DefaultBinder.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- KeyGestureConverter.cs
- ListCommandEventArgs.cs
- _HTTPDateParse.cs
- DesignTimeVisibleAttribute.cs
- RoleManagerModule.cs
- ListBoxItemWrapperAutomationPeer.cs
- RectangleGeometry.cs
- DuplicateWaitObjectException.cs
- DataObjectAttribute.cs
- XmlTextReaderImpl.cs
- SoapFormatExtensions.cs
- ColumnResult.cs
- GC.cs
- OleDbError.cs
- SchemaElementDecl.cs
- InputLanguageEventArgs.cs
- FlowDocumentFormatter.cs
- WmfPlaceableFileHeader.cs
- LostFocusEventManager.cs
- DebugController.cs
- WindowsScroll.cs
- TdsParserSafeHandles.cs
- InvokeHandlers.cs
- DesignerActionItemCollection.cs
- FlowDocumentScrollViewer.cs
- SqlBulkCopyColumnMappingCollection.cs
- FormCollection.cs
- PeerNodeTraceRecord.cs
- WindowsHyperlink.cs
- RtfControlWordInfo.cs
- ToolboxBitmapAttribute.cs
- WebBrowserPermission.cs
- SimpleHandlerFactory.cs
- ExpressionBuilderContext.cs
- Adorner.cs
- ToolTip.cs
- MemoryRecordBuffer.cs
- WebPartEditorCancelVerb.cs
- SettingsBase.cs
- DataDesignUtil.cs
- SHA384CryptoServiceProvider.cs
- XmlSecureResolver.cs
- XPathDocumentNavigator.cs
- PersonalizationDictionary.cs
- GenericUriParser.cs
- Table.cs
- CompilerLocalReference.cs
- GridViewCellAutomationPeer.cs
- ServiceHostingEnvironment.cs
- OpenTypeLayoutCache.cs
- CodeAccessSecurityEngine.cs
- ProvideValueServiceProvider.cs
- AdRotator.cs
- MetadataItemEmitter.cs
- MenuCommands.cs
- CustomAttribute.cs
- SiteMapNode.cs
- ProcessThread.cs
- WS2007FederationHttpBinding.cs
- XmlSchemaObjectCollection.cs
- CodeTypeReferenceExpression.cs
- LabelLiteral.cs
- TextCollapsingProperties.cs
- DataRowView.cs
- GlyphRunDrawing.cs
- DrawingAttributeSerializer.cs
- TextServicesContext.cs
- ScriptServiceAttribute.cs
- AsymmetricAlgorithm.cs
- ObjectDataSourceSelectingEventArgs.cs
- Encoder.cs