Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / TransactionBridge / Microsoft / Transactions / Bridge / Ppl.cs / 2 / Ppl.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Security.Permissions; using System.Runtime.Serialization; using System.Threading; using System.Transactions; using System.ServiceModel.Transactions; namespace Microsoft.Transactions.Bridge { ////// /// enum Status { Success, Error, Committed, Aborted, Prepared, Readonly, PrePrepared, InDoubt, DuplicateTransaction, TooLate, TransactionNotFound, TooManySubordinateEnlistments, InvalidRecoveryData, LocalPropagation, DuplicatePropagation } ////// note: this is a place holder for state, it does not mean that state /// will ultimately be defined via an enum. State transistion diagram /// is TBS in PPL spec. /// enum TransactionManagerState { Uninitialized, Initialized, Starting, Started, Stopping, Stopped } /// TransactionManagerCallback delegate ////// Defines callback for TransactionManagerCoordinatorService /// and TransactionManagerPropagateService methods. /// delegate void TransactionManagerCallback( Enlistment enlistment, Status status, object state ); class EnlistmentOptions { public EnlistmentOptions() { expires = new TimeSpan(0, 5, 0); isoLevel = IsolationLevel.Unspecified; } public TimeSpan Expires { get{ return expires; } set{ expires = value; } } public IsolationLevel IsoLevel { get{ return isoLevel; } set{ isoLevel = value; } } public IsolationFlags IsolationFlags { get{ return this.isoFlags; } set{ this.isoFlags = value; } } public ulong IsolationFlagsLong { get{ return (ulong)this.isoFlags; } set{ this.isoFlags = (IsolationFlags)value; } } public string Description { get{ return description; } set{ description = value; } } TimeSpan expires; IsolationLevel isoLevel; IsolationFlags isoFlags; string description; } } // 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
- DataGridViewEditingControlShowingEventArgs.cs
- SerializerDescriptor.cs
- MethodBuilder.cs
- DirectoryObjectSecurity.cs
- Point3DAnimationUsingKeyFrames.cs
- SafeHandles.cs
- WebServiceReceiveDesigner.cs
- TriggerBase.cs
- DeflateStream.cs
- CellConstant.cs
- LeaseManager.cs
- ReflectTypeDescriptionProvider.cs
- Decoder.cs
- TagPrefixAttribute.cs
- FileStream.cs
- mda.cs
- ConfigurationConverterBase.cs
- EditCommandColumn.cs
- ColumnResizeUndoUnit.cs
- NotifyParentPropertyAttribute.cs
- ErrorTableItemStyle.cs
- BufferedWebEventProvider.cs
- DataAccessor.cs
- TreeViewImageKeyConverter.cs
- WebPartPersonalization.cs
- CngProvider.cs
- QuaternionAnimationUsingKeyFrames.cs
- AppDomainResourcePerfCounters.cs
- LayoutTable.cs
- PriorityQueue.cs
- MyContact.cs
- mediaclock.cs
- Debug.cs
- OptionalRstParameters.cs
- FixedDSBuilder.cs
- ActivityExecutor.cs
- PointAnimationClockResource.cs
- WbemException.cs
- TextServicesContext.cs
- Floater.cs
- TransformerTypeCollection.cs
- AppliedDeviceFiltersDialog.cs
- DescendantBaseQuery.cs
- RouteParametersHelper.cs
- HtmlHistory.cs
- TextServicesContext.cs
- AgileSafeNativeMemoryHandle.cs
- DataReaderContainer.cs
- FlowLayout.cs
- XmlSchemaValidator.cs
- TextRangeEditLists.cs
- CircleHotSpot.cs
- KeysConverter.cs
- MasterPageCodeDomTreeGenerator.cs
- DataObjectEventArgs.cs
- ADRoleFactory.cs
- MethodExpression.cs
- CollectionBase.cs
- ContextMenu.cs
- PathTooLongException.cs
- ActivityDesignerLayoutSerializers.cs
- _SslState.cs
- FormatException.cs
- BaseDataListPage.cs
- WindowsAuthenticationEventArgs.cs
- SoapCodeExporter.cs
- ApplicationTrust.cs
- MethodRental.cs
- ImageCodecInfoPrivate.cs
- SegmentInfo.cs
- DateTimeStorage.cs
- RSAOAEPKeyExchangeFormatter.cs
- NavigationCommands.cs
- Vars.cs
- WebServiceEnumData.cs
- XmlTextWriter.cs
- CodeGenerator.cs
- SqlServer2KCompatibilityCheck.cs
- StringKeyFrameCollection.cs
- DesigntimeLicenseContext.cs
- CustomAttributeFormatException.cs
- ImageCodecInfoPrivate.cs
- CustomAttributeSerializer.cs
- HtmlListAdapter.cs
- PropertyChangedEventArgs.cs
- KeyEvent.cs
- TypeLibConverter.cs
- infer.cs
- Model3D.cs
- SHA1.cs
- BitmapEffectInput.cs
- LazyLoadBehavior.cs
- XmlHierarchicalDataSourceView.cs
- NullableLongMinMaxAggregationOperator.cs
- DelegateHelpers.Generated.cs
- Coordinator.cs
- ECDiffieHellman.cs
- SortQuery.cs
- ObjectNavigationPropertyMapping.cs
- HttpHeaderCollection.cs