Share via


ExplicitTransactionRequiredException Class

The exception that is thrown when a method is called that requires an explicit transaction to have been started on the metadata store.

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ExplicitTransactionRequiredException
    Inherits MetadataStoreException
'Usage
Dim instance As ExplicitTransactionRequiredException
[SerializableAttribute] 
public class ExplicitTransactionRequiredException : MetadataStoreException
[SerializableAttribute] 
public ref class ExplicitTransactionRequiredException : public MetadataStoreException
/** @attribute SerializableAttribute() */ 
public class ExplicitTransactionRequiredException extends MetadataStoreException
SerializableAttribute 
public class ExplicitTransactionRequiredException extends MetadataStoreException

Remarks

To start an explicit transaction, call MetadataStore.BeginTransaction.

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.Synchronization.SyncException
       Microsoft.Synchronization.MetadataStorage.MetadataStoreException
        Microsoft.Synchronization.MetadataStorage.ExplicitTransactionRequiredException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ExplicitTransactionRequiredException Members
Microsoft.Synchronization.MetadataStorage Namespace