Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionSynchronizationManager.UnbindResource Method

Unbind a resource for the given key from the current thread

[Visual Basic]
Public Shared Sub UnbindResource( _
   ByVal key As Object _
)
[C#]
public static object UnbindResource(
   object key
);

Parameters

key
key to check

Return Value

the previously bound value

Exceptions

Exception Type Condition
InvalidOperationException if there is no value bound to the thread

See Also

TransactionSynchronizationManager Class | Spring.Transaction.Support Namespace