| WikiLoggingHelperBeginActionScope(ILogger, Object, Object, String) Method |
This is preliminary documentation and is subject to change.
[Missing <summary> documentation for "M:WikiClientLibrary.Infrastructures.Logging.WikiLoggingHelper.BeginActionScope(Microsoft.Extensions.Logging.ILogger,System.Object,System.Object,System.String)"]
Namespace: WikiClientLibrary.Infrastructures.LoggingAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static IDisposable BeginActionScope(
this ILogger logger,
Object? target,
Object param1,
string? actionName = null
)
<ExtensionAttribute>
Public Shared Function BeginActionScope (
logger As ILogger,
target As Object,
param1 As Object,
Optional actionName As String = Nothing
) As IDisposable
Dim logger As ILogger
Dim target As Object
Dim param1 As Object
Dim actionName As String
Dim returnValue As IDisposable
returnValue = logger.BeginActionScope(target,
param1, actionName)
public:
[ExtensionAttribute]
static IDisposable^ BeginActionScope(
ILogger^ logger,
Object^ target,
Object^ param1,
String^ actionName = nullptr
)
[<ExtensionAttribute>]
static member BeginActionScope :
logger : ILogger *
target : Object *
param1 : Object *
?actionName : string
(* Defaults:
let _actionName = defaultArg actionName null
*)
-> IDisposable
Parameters
- logger ILogger
[Missing <param name="logger"/> documentation for "M:WikiClientLibrary.Infrastructures.Logging.WikiLoggingHelper.BeginActionScope(Microsoft.Extensions.Logging.ILogger,System.Object,System.Object,System.String)"]
- target Object
[Missing <param name="target"/> documentation for "M:WikiClientLibrary.Infrastructures.Logging.WikiLoggingHelper.BeginActionScope(Microsoft.Extensions.Logging.ILogger,System.Object,System.Object,System.String)"]
- param1 Object
[Missing <param name="param1"/> documentation for "M:WikiClientLibrary.Infrastructures.Logging.WikiLoggingHelper.BeginActionScope(Microsoft.Extensions.Logging.ILogger,System.Object,System.Object,System.String)"]
- actionName String (Optional)
[Missing <param name="actionName"/> documentation for "M:WikiClientLibrary.Infrastructures.Logging.WikiLoggingHelper.BeginActionScope(Microsoft.Extensions.Logging.ILogger,System.Object,System.Object,System.String)"]
Return Value
IDisposableUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also