C# Class System.Transactions.CallContextCurrentData

Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ClearCurrentData ( ContextKey contextKey, bool removeContextData ) : void
CreateOrGetCurrentData ( ContextKey contextKey ) : ContextData
TryGetCurrentData ( ContextData &currentData ) : bool

Method Details

ClearCurrentData() public static method

public static ClearCurrentData ( ContextKey contextKey, bool removeContextData ) : void
contextKey ContextKey
removeContextData bool
return void

CreateOrGetCurrentData() public static method

public static CreateOrGetCurrentData ( ContextKey contextKey ) : ContextData
contextKey ContextKey
return ContextData

TryGetCurrentData() public static method

public static TryGetCurrentData ( ContextData &currentData ) : bool
currentData ContextData
return bool