IsLockedFile Method

Serilog Sinks AmazonS3

Serilog.Sinks.AmazonS3

IoErrors..::..IsLockedFile Method

Determines whether the file is locked or not.

Namespace:  Serilog.Sinks.AmazonS3
Assembly:  Serilog.Sinks.AmazonS3 (in Serilog.Sinks.AmazonS3.dll)

Syntax


public static bool IsLockedFile(
	IOException ex
)
Public Shared Function IsLockedFile ( _
	ex As IOException _
) As Boolean
public:
static bool^ IsLockedFile(
	IOException^ ex
)

Parameters

ex
Type: IOException
The [IOException] to check.

Return Value

true if the file is locked; otherwise, false.