Skip to content

M_NChronicle_File_Interfaces_IRetentionPolicy_CheckPolicy

Andrew James edited this page Aug 3, 2017 · 1 revision

IRetentionPolicy.CheckPolicy Method

Check whether the output file at the given path should have the file retention policy invoked upon it.

Namespace: NChronicle.File.Interfaces
Assembly: NChronicle.File (in NChronicle.File.dll) Version: 1.0.1.0 (1.0.1.0)

Syntax

C#

bool CheckPolicy(
	string path,
	byte[] pendingBytes
)

VB

Function CheckPolicy ( 
	path As String,
	pendingBytes As Byte()
) As Boolean

F#

abstract CheckPolicy : 
        path : string * 
        pendingBytes : byte[] -> bool 

Parameters

 

path
Type: System.String
The path to the output file.
pendingBytes
Type: System.Byte[]
Any pending bytes that are to be written to the output file.

Return Value

Type: Boolean
A Boolean indicating if the policy should be invoked.

See Also

Reference

IRetentionPolicy Interface
NChronicle.File.Interfaces Namespace

Clone this wiki locally