1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 [assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")] 6 [assembly:System.CLSCompliantAttribute(true)] 7 [assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))] 8 [assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] 9 [assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] 10 [assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.Transactions.dll")] 11 [assembly:System.Reflection.AssemblyDescriptionAttribute("System.Transactions.dll")] 12 [assembly:System.Reflection.AssemblyFileVersionAttribute("4.6.57.0")] 13 [assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.6.57.0")] 14 [assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] 15 [assembly:System.Reflection.AssemblyTitleAttribute("System.Transactions.dll")] 16 [assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")] 17 [assembly:System.Resources.SatelliteContractVersionAttribute("4.0.0.0")] 18 [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] 19 [assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute] 20 [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] 21 [assembly:System.Runtime.InteropServices.BestFitMappingAttribute(false)] 22 [assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)] 23 [assembly:System.Security.AllowPartiallyTrustedCallersAttribute] 24 namespace System 25 { 26 [System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)] 27 internal partial class MonoDocumentationNoteAttribute : System.MonoTODOAttribute 28 { MonoDocumentationNoteAttribute(string comment)29 public MonoDocumentationNoteAttribute(string comment) { } 30 } 31 [System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)] 32 internal partial class MonoExtensionAttribute : System.MonoTODOAttribute 33 { MonoExtensionAttribute(string comment)34 public MonoExtensionAttribute(string comment) { } 35 } 36 [System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)] 37 internal partial class MonoInternalNoteAttribute : System.MonoTODOAttribute 38 { MonoInternalNoteAttribute(string comment)39 public MonoInternalNoteAttribute(string comment) { } 40 } 41 [System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)] 42 internal partial class MonoLimitationAttribute : System.MonoTODOAttribute 43 { MonoLimitationAttribute(string comment)44 public MonoLimitationAttribute(string comment) { } 45 } 46 [System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)] 47 internal partial class MonoNotSupportedAttribute : System.MonoTODOAttribute 48 { MonoNotSupportedAttribute(string comment)49 public MonoNotSupportedAttribute(string comment) { } 50 } 51 [System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)] 52 internal partial class MonoTODOAttribute : System.Attribute 53 { MonoTODOAttribute()54 public MonoTODOAttribute() { } MonoTODOAttribute(string comment)55 public MonoTODOAttribute(string comment) { } 56 public string Comment { get { throw null; } } 57 } 58 } 59 namespace System.Transactions 60 { 61 [System.SerializableAttribute] 62 public sealed partial class CommittableTransaction : System.Transactions.Transaction, System.IAsyncResult 63 { CommittableTransaction()64 public CommittableTransaction() { } CommittableTransaction(System.TimeSpan timeout)65 public CommittableTransaction(System.TimeSpan timeout) { } CommittableTransaction(System.Transactions.TransactionOptions options)66 public CommittableTransaction(System.Transactions.TransactionOptions options) { } 67 object System.IAsyncResult.AsyncState { get { throw null; } } 68 System.Threading.WaitHandle System.IAsyncResult.AsyncWaitHandle { get { throw null; } } 69 bool System.IAsyncResult.CompletedSynchronously { get { throw null; } } 70 bool System.IAsyncResult.IsCompleted { get { throw null; } } BeginCommit(System.AsyncCallback asyncCallback, object asyncState)71 public System.IAsyncResult BeginCommit(System.AsyncCallback asyncCallback, object asyncState) { throw null; } Commit()72 public void Commit() { } EndCommit(System.IAsyncResult asyncResult)73 public void EndCommit(System.IAsyncResult asyncResult) { } 74 } 75 public enum DependentCloneOption 76 { 77 BlockCommitUntilComplete = 0, 78 RollbackIfNotComplete = 1, 79 } 80 [System.MonoTODOAttribute("Not supported yet")] 81 [System.SerializableAttribute] 82 public sealed partial class DependentTransaction : System.Transactions.Transaction 83 { DependentTransaction()84 internal DependentTransaction() { } 85 [System.MonoTODOAttribute] Complete()86 public void Complete() { } 87 } 88 public sealed partial class DistributedTransactionPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission 89 { DistributedTransactionPermission(System.Security.Permissions.PermissionState state)90 public DistributedTransactionPermission(System.Security.Permissions.PermissionState state) { } Copy()91 public override System.Security.IPermission Copy() { throw null; } FromXml(System.Security.SecurityElement securityElement)92 public override void FromXml(System.Security.SecurityElement securityElement) { } Intersect(System.Security.IPermission target)93 public override System.Security.IPermission Intersect(System.Security.IPermission target) { throw null; } IsSubsetOf(System.Security.IPermission target)94 public override bool IsSubsetOf(System.Security.IPermission target) { throw null; } IsUnrestricted()95 public bool IsUnrestricted() { throw null; } ToXml()96 public override System.Security.SecurityElement ToXml() { throw null; } Union(System.Security.IPermission target)97 public override System.Security.IPermission Union(System.Security.IPermission target) { throw null; } 98 } 99 public sealed partial class DistributedTransactionPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute 100 { DistributedTransactionPermissionAttribute(System.Security.Permissions.SecurityAction action)101 public DistributedTransactionPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { } 102 public new bool Unrestricted { get { throw null; } set { } } CreatePermission()103 public override System.Security.IPermission CreatePermission() { throw null; } 104 } 105 public partial class Enlistment 106 { Enlistment()107 internal Enlistment() { } Done()108 public void Done() { } 109 } 110 [System.FlagsAttribute] 111 public enum EnlistmentOptions 112 { 113 EnlistDuringPrepareRequired = 1, 114 None = 0, 115 } 116 public enum EnterpriseServicesInteropOption 117 { 118 Automatic = 1, 119 Full = 2, 120 None = 0, 121 } HostCurrentTransactionCallback()122 public delegate System.Transactions.Transaction HostCurrentTransactionCallback(); 123 [System.Runtime.InteropServices.InterfaceTypeAttribute((System.Runtime.InteropServices.ComInterfaceType)(1))] 124 public partial interface IDtcTransaction 125 { Abort(System.IntPtr reason, int retaining, int async)126 void Abort(System.IntPtr reason, int retaining, int async); Commit(int retaining, [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.I4)]int commitType, int reserved)127 void Commit(int retaining, [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.I4)]int commitType, int reserved); GetTransactionInfo(System.IntPtr transactionInformation)128 void GetTransactionInfo(System.IntPtr transactionInformation); 129 } 130 public partial interface IEnlistmentNotification 131 { Commit(System.Transactions.Enlistment enlistment)132 void Commit(System.Transactions.Enlistment enlistment); InDoubt(System.Transactions.Enlistment enlistment)133 void InDoubt(System.Transactions.Enlistment enlistment); Prepare(System.Transactions.PreparingEnlistment preparingEnlistment)134 void Prepare(System.Transactions.PreparingEnlistment preparingEnlistment); Rollback(System.Transactions.Enlistment enlistment)135 void Rollback(System.Transactions.Enlistment enlistment); 136 } 137 public partial interface IPromotableSinglePhaseNotification : System.Transactions.ITransactionPromoter 138 { Initialize()139 void Initialize(); Rollback(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment)140 void Rollback(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment); SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment)141 void SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment); 142 } 143 public partial interface ISimpleTransactionSuperior : System.Transactions.ITransactionPromoter 144 { Rollback()145 void Rollback(); 146 } 147 public partial interface ISinglePhaseNotification : System.Transactions.IEnlistmentNotification 148 { SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment)149 void SinglePhaseCommit(System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment); 150 } 151 public enum IsolationLevel 152 { 153 Chaos = 5, 154 ReadCommitted = 2, 155 ReadUncommitted = 3, 156 RepeatableRead = 1, 157 Serializable = 0, 158 Snapshot = 4, 159 Unspecified = 6, 160 } 161 public partial interface ITransactionPromoter 162 { Promote()163 byte[] Promote(); 164 } 165 public partial class PreparingEnlistment : System.Transactions.Enlistment 166 { PreparingEnlistment()167 internal PreparingEnlistment() { } ForceRollback()168 public void ForceRollback() { } 169 [System.MonoTODOAttribute] ForceRollback(System.Exception e)170 public void ForceRollback(System.Exception e) { } 171 [System.MonoTODOAttribute] Prepared()172 public void Prepared() { } 173 [System.MonoTODOAttribute] RecoveryInformation()174 public byte[] RecoveryInformation() { throw null; } 175 } 176 public partial class SinglePhaseEnlistment : System.Transactions.Enlistment 177 { SinglePhaseEnlistment()178 internal SinglePhaseEnlistment() { } Aborted()179 public void Aborted() { } Aborted(System.Exception e)180 public void Aborted(System.Exception e) { } 181 [System.MonoTODOAttribute] Committed()182 public void Committed() { } 183 [System.MonoTODOAttribute("Not implemented")] InDoubt()184 public void InDoubt() { } 185 [System.MonoTODOAttribute("Not implemented")] InDoubt(System.Exception e)186 public void InDoubt(System.Exception e) { } 187 } 188 [System.SerializableAttribute] 189 public sealed partial class SubordinateTransaction : System.Transactions.Transaction 190 { SubordinateTransaction(System.Transactions.IsolationLevel isoLevel, System.Transactions.ISimpleTransactionSuperior superior)191 public SubordinateTransaction(System.Transactions.IsolationLevel isoLevel, System.Transactions.ISimpleTransactionSuperior superior) { } 192 } 193 [System.SerializableAttribute] 194 public partial class Transaction : System.IDisposable, System.Runtime.Serialization.ISerializable 195 { Transaction()196 internal Transaction() { } 197 public static System.Transactions.Transaction Current { get { throw null; } set { } } 198 public System.Transactions.IsolationLevel IsolationLevel { get { throw null; } } 199 public System.Guid PromoterType { get { throw null; } } 200 public System.Transactions.TransactionInformation TransactionInformation { get { throw null; } } 201 public event System.Transactions.TransactionCompletedEventHandler TransactionCompleted { add { } remove { } } Clone()202 public System.Transactions.Transaction Clone() { throw null; } 203 [System.MonoTODOAttribute] DependentClone(System.Transactions.DependentCloneOption cloneOption)204 public System.Transactions.DependentTransaction DependentClone(System.Transactions.DependentCloneOption cloneOption) { throw null; } Dispose()205 public void Dispose() { } 206 [System.MonoTODOAttribute("Only SinglePhase commit supported for durable resource managers.")] 207 [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand)] EnlistDurable(System.Guid resourceManagerIdentifier, System.Transactions.IEnlistmentNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions)208 public System.Transactions.Enlistment EnlistDurable(System.Guid resourceManagerIdentifier, System.Transactions.IEnlistmentNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions) { throw null; } 209 [System.MonoTODOAttribute("Only Local Transaction Manager supported. Cannot have more than 1 durable resource per transaction. Only EnlistmentOptions.None supported yet.")] 210 [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand)] EnlistDurable(System.Guid resourceManagerIdentifier, System.Transactions.ISinglePhaseNotification singlePhaseNotification, System.Transactions.EnlistmentOptions enlistmentOptions)211 public System.Transactions.Enlistment EnlistDurable(System.Guid resourceManagerIdentifier, System.Transactions.ISinglePhaseNotification singlePhaseNotification, System.Transactions.EnlistmentOptions enlistmentOptions) { throw null; } EnlistPromotableSinglePhase(System.Transactions.IPromotableSinglePhaseNotification promotableSinglePhaseNotification)212 public bool EnlistPromotableSinglePhase(System.Transactions.IPromotableSinglePhaseNotification promotableSinglePhaseNotification) { throw null; } EnlistPromotableSinglePhase(System.Transactions.IPromotableSinglePhaseNotification promotableSinglePhaseNotification, System.Guid promoterType)213 public bool EnlistPromotableSinglePhase(System.Transactions.IPromotableSinglePhaseNotification promotableSinglePhaseNotification, System.Guid promoterType) { throw null; } 214 [System.MonoTODOAttribute("EnlistmentOptions being ignored")] EnlistVolatile(System.Transactions.IEnlistmentNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions)215 public System.Transactions.Enlistment EnlistVolatile(System.Transactions.IEnlistmentNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions) { throw null; } 216 [System.MonoTODOAttribute("EnlistmentOptions being ignored")] EnlistVolatile(System.Transactions.ISinglePhaseNotification singlePhaseNotification, System.Transactions.EnlistmentOptions enlistmentOptions)217 public System.Transactions.Enlistment EnlistVolatile(System.Transactions.ISinglePhaseNotification singlePhaseNotification, System.Transactions.EnlistmentOptions enlistmentOptions) { throw null; } Equals(object obj)218 public override bool Equals(object obj) { throw null; } GetHashCode()219 public override int GetHashCode() { throw null; } GetPromotedToken()220 public byte[] GetPromotedToken() { throw null; } operator ==(System.Transactions.Transaction x, System.Transactions.Transaction y)221 public static bool operator ==(System.Transactions.Transaction x, System.Transactions.Transaction y) { throw null; } operator !=(System.Transactions.Transaction x, System.Transactions.Transaction y)222 public static bool operator !=(System.Transactions.Transaction x, System.Transactions.Transaction y) { throw null; } 223 [System.MonoTODOAttribute("Only Local Transaction Manager supported. Cannot have more than 1 durable resource per transaction.")] 224 [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand)] PromoteAndEnlistDurable(System.Guid resourceManagerIdentifier, System.Transactions.IPromotableSinglePhaseNotification promotableNotification, System.Transactions.ISinglePhaseNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions)225 public System.Transactions.Enlistment PromoteAndEnlistDurable(System.Guid resourceManagerIdentifier, System.Transactions.IPromotableSinglePhaseNotification promotableNotification, System.Transactions.ISinglePhaseNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions) { throw null; } Rollback()226 public void Rollback() { } Rollback(System.Exception e)227 public void Rollback(System.Exception e) { } SetDistributedTransactionIdentifier(System.Transactions.IPromotableSinglePhaseNotification promotableNotification, System.Guid distributedTransactionIdentifier)228 public void SetDistributedTransactionIdentifier(System.Transactions.IPromotableSinglePhaseNotification promotableNotification, System.Guid distributedTransactionIdentifier) { } 229 [System.MonoTODOAttribute] System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext context)230 void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext context) { } 231 } 232 [System.SerializableAttribute] 233 public partial class TransactionAbortedException : System.Transactions.TransactionException 234 { TransactionAbortedException()235 public TransactionAbortedException() { } TransactionAbortedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)236 protected TransactionAbortedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } TransactionAbortedException(string message)237 public TransactionAbortedException(string message) { } TransactionAbortedException(string message, System.Exception innerException)238 public TransactionAbortedException(string message, System.Exception innerException) { } 239 } TransactionCompletedEventHandler(object sender, System.Transactions.TransactionEventArgs e)240 public delegate void TransactionCompletedEventHandler(object sender, System.Transactions.TransactionEventArgs e); 241 public partial class TransactionEventArgs : System.EventArgs 242 { TransactionEventArgs()243 public TransactionEventArgs() { } 244 public System.Transactions.Transaction Transaction { get { throw null; } } 245 } 246 [System.SerializableAttribute] 247 public partial class TransactionException : System.SystemException 248 { TransactionException()249 public TransactionException() { } TransactionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)250 protected TransactionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } TransactionException(string message)251 public TransactionException(string message) { } TransactionException(string message, System.Exception innerException)252 public TransactionException(string message, System.Exception innerException) { } 253 } 254 [System.SerializableAttribute] 255 public partial class TransactionInDoubtException : System.Transactions.TransactionException 256 { TransactionInDoubtException()257 public TransactionInDoubtException() { } TransactionInDoubtException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)258 protected TransactionInDoubtException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } TransactionInDoubtException(string message)259 public TransactionInDoubtException(string message) { } TransactionInDoubtException(string message, System.Exception innerException)260 public TransactionInDoubtException(string message, System.Exception innerException) { } 261 } 262 public partial class TransactionInformation 263 { TransactionInformation()264 internal TransactionInformation() { } 265 public System.DateTime CreationTime { get { throw null; } } 266 public System.Guid DistributedIdentifier { get { throw null; } } 267 public string LocalIdentifier { get { throw null; } } 268 public System.Transactions.TransactionStatus Status { get { throw null; } } 269 } 270 [System.MonoTODOAttribute] 271 public static partial class TransactionInterop 272 { 273 public static readonly System.Guid PromoterTypeDtc; 274 [System.MonoTODOAttribute] GetDtcTransaction(System.Transactions.Transaction transaction)275 public static System.Transactions.IDtcTransaction GetDtcTransaction(System.Transactions.Transaction transaction) { throw null; } 276 [System.MonoTODOAttribute] GetExportCookie(System.Transactions.Transaction transaction, byte[] whereabouts)277 public static byte[] GetExportCookie(System.Transactions.Transaction transaction, byte[] whereabouts) { throw null; } 278 [System.MonoTODOAttribute] GetTransactionFromDtcTransaction(System.Transactions.IDtcTransaction transactionNative)279 public static System.Transactions.Transaction GetTransactionFromDtcTransaction(System.Transactions.IDtcTransaction transactionNative) { throw null; } 280 [System.MonoTODOAttribute] GetTransactionFromExportCookie(byte[] cookie)281 public static System.Transactions.Transaction GetTransactionFromExportCookie(byte[] cookie) { throw null; } 282 [System.MonoTODOAttribute] GetTransactionFromTransmitterPropagationToken(byte[] propagationToken)283 public static System.Transactions.Transaction GetTransactionFromTransmitterPropagationToken(byte[] propagationToken) { throw null; } 284 [System.MonoTODOAttribute] GetTransmitterPropagationToken(System.Transactions.Transaction transaction)285 public static byte[] GetTransmitterPropagationToken(System.Transactions.Transaction transaction) { throw null; } 286 [System.MonoTODOAttribute] GetWhereabouts()287 public static byte[] GetWhereabouts() { throw null; } 288 } 289 public static partial class TransactionManager 290 { 291 public static System.TimeSpan DefaultTimeout { get { throw null; } } 292 [System.MonoTODOAttribute("Not implemented")] 293 public static System.Transactions.HostCurrentTransactionCallback HostCurrentCallback { get { throw null; } set { } } 294 public static System.TimeSpan MaximumTimeout { get { throw null; } } 295 public static event System.Transactions.TransactionStartedEventHandler DistributedTransactionStarted { add { } remove { } } 296 [System.MonoTODOAttribute("Not implemented")] RecoveryComplete(System.Guid resourceManagerIdentifier)297 public static void RecoveryComplete(System.Guid resourceManagerIdentifier) { } 298 [System.MonoTODOAttribute("Not implemented")] Reenlist(System.Guid resourceManagerIdentifier, byte[] recoveryInformation, System.Transactions.IEnlistmentNotification enlistmentNotification)299 public static System.Transactions.Enlistment Reenlist(System.Guid resourceManagerIdentifier, byte[] recoveryInformation, System.Transactions.IEnlistmentNotification enlistmentNotification) { throw null; } 300 } 301 [System.SerializableAttribute] 302 public partial class TransactionManagerCommunicationException : System.Transactions.TransactionException 303 { TransactionManagerCommunicationException()304 public TransactionManagerCommunicationException() { } TransactionManagerCommunicationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)305 protected TransactionManagerCommunicationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } TransactionManagerCommunicationException(string message)306 public TransactionManagerCommunicationException(string message) { } TransactionManagerCommunicationException(string message, System.Exception innerException)307 public TransactionManagerCommunicationException(string message, System.Exception innerException) { } 308 } 309 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] 310 public partial struct TransactionOptions 311 { 312 public System.Transactions.IsolationLevel IsolationLevel { get { throw null; } set { } } 313 public System.TimeSpan Timeout { get { throw null; } set { } } EqualsSystem.Transactions.TransactionOptions314 public override bool Equals(object obj) { throw null; } GetHashCodeSystem.Transactions.TransactionOptions315 public override int GetHashCode() { throw null; } operator ==System.Transactions.TransactionOptions316 public static bool operator ==(System.Transactions.TransactionOptions x, System.Transactions.TransactionOptions y) { throw null; } operator !=System.Transactions.TransactionOptions317 public static bool operator !=(System.Transactions.TransactionOptions x, System.Transactions.TransactionOptions y) { throw null; } 318 } 319 [System.SerializableAttribute] 320 public partial class TransactionPromotionException : System.Transactions.TransactionException 321 { TransactionPromotionException()322 public TransactionPromotionException() { } TransactionPromotionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)323 protected TransactionPromotionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } TransactionPromotionException(string message)324 public TransactionPromotionException(string message) { } TransactionPromotionException(string message, System.Exception innerException)325 public TransactionPromotionException(string message, System.Exception innerException) { } 326 } 327 public sealed partial class TransactionScope : System.IDisposable 328 { TransactionScope()329 public TransactionScope() { } TransactionScope(System.Transactions.Transaction transactionToUse)330 public TransactionScope(System.Transactions.Transaction transactionToUse) { } TransactionScope(System.Transactions.Transaction transactionToUse, System.TimeSpan scopeTimeout)331 public TransactionScope(System.Transactions.Transaction transactionToUse, System.TimeSpan scopeTimeout) { } 332 [System.MonoTODOAttribute("EnterpriseServicesInteropOption not supported.")] TransactionScope(System.Transactions.Transaction transactionToUse, System.TimeSpan scopeTimeout, System.Transactions.EnterpriseServicesInteropOption interopOption)333 public TransactionScope(System.Transactions.Transaction transactionToUse, System.TimeSpan scopeTimeout, System.Transactions.EnterpriseServicesInteropOption interopOption) { } TransactionScope(System.Transactions.Transaction transactionToUse, System.TimeSpan scopeTimeout, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption)334 public TransactionScope(System.Transactions.Transaction transactionToUse, System.TimeSpan scopeTimeout, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) { } TransactionScope(System.Transactions.Transaction transactionToUse, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption)335 public TransactionScope(System.Transactions.Transaction transactionToUse, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) { } TransactionScope(System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption)336 public TransactionScope(System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) { } TransactionScope(System.Transactions.TransactionScopeOption scopeOption)337 public TransactionScope(System.Transactions.TransactionScopeOption scopeOption) { } TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.TimeSpan scopeTimeout)338 public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.TimeSpan scopeTimeout) { } TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.TimeSpan scopeTimeout, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption)339 public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.TimeSpan scopeTimeout, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) { } TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionOptions transactionOptions)340 public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionOptions transactionOptions) { } 341 [System.MonoTODOAttribute("EnterpriseServicesInteropOption not supported")] TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionOptions transactionOptions, System.Transactions.EnterpriseServicesInteropOption interopOption)342 public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionOptions transactionOptions, System.Transactions.EnterpriseServicesInteropOption interopOption) { } TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionOptions transactionOptions, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption)343 public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionOptions transactionOptions, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) { } TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption)344 public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionScopeAsyncFlowOption asyncFlowOption) { } Complete()345 public void Complete() { } Dispose()346 public void Dispose() { } 347 } 348 public enum TransactionScopeAsyncFlowOption 349 { 350 Enabled = 1, 351 Suppress = 0, 352 } 353 public enum TransactionScopeOption 354 { 355 Required = 0, 356 RequiresNew = 1, 357 Suppress = 2, 358 } TransactionStartedEventHandler(object sender, System.Transactions.TransactionEventArgs e)359 public delegate void TransactionStartedEventHandler(object sender, System.Transactions.TransactionEventArgs e); 360 public enum TransactionStatus 361 { 362 Aborted = 2, 363 Active = 0, 364 Committed = 1, 365 InDoubt = 3, 366 } 367 } 368 namespace System.Transactions.Configuration 369 { 370 public sealed partial class DefaultSettingsSection : System.Configuration.ConfigurationSection 371 { DefaultSettingsSection()372 public DefaultSettingsSection() { } 373 [System.Configuration.ConfigurationPropertyAttribute("distributedTransactionManagerName", DefaultValue="")] 374 public string DistributedTransactionManagerName { get { throw null; } set { } } 375 protected override System.Configuration.ConfigurationPropertyCollection Properties { get { throw null; } } 376 [System.Configuration.ConfigurationPropertyAttribute("timeout", DefaultValue="00:01:00")] 377 [System.Configuration.TimeSpanValidatorAttribute(MinValueString="00:00:00", MaxValueString="10675199.02:48:05.4775807")] 378 public System.TimeSpan Timeout { get { throw null; } set { } } 379 } 380 public sealed partial class MachineSettingsSection : System.Configuration.ConfigurationSection 381 { MachineSettingsSection()382 public MachineSettingsSection() { } 383 [System.Configuration.ConfigurationPropertyAttribute("maxTimeout", DefaultValue="00:10:00")] 384 [System.Configuration.TimeSpanValidatorAttribute(MinValueString="00:00:00", MaxValueString="10675199.02:48:05.4775807")] 385 public System.TimeSpan MaxTimeout { get { throw null; } set { } } 386 protected override System.Configuration.ConfigurationPropertyCollection Properties { get { throw null; } } 387 } 388 public sealed partial class TransactionsSectionGroup : System.Configuration.ConfigurationSectionGroup 389 { TransactionsSectionGroup()390 public TransactionsSectionGroup() { } 391 [System.Configuration.ConfigurationPropertyAttribute("defaultSettings")] 392 public System.Transactions.Configuration.DefaultSettingsSection DefaultSettings { get { throw null; } } 393 [System.Configuration.ConfigurationPropertyAttribute("machineSettings")] 394 public System.Transactions.Configuration.MachineSettingsSection MachineSettings { get { throw null; } } GetSectionGroup(System.Configuration.Configuration config)395 public static System.Transactions.Configuration.TransactionsSectionGroup GetSectionGroup(System.Configuration.Configuration config) { throw null; } 396 } 397 } 398