Interface ISentryIgnorable
Interface providing mechanisms for temporary ignoring sentry for the current thread.
Namespace: SuperOffice.CRM.Security
Assembly: SoDataBase.dll
Syntax
public interface ISentryIgnorable
Remarks
Implementers should use the SentryIgnorableHelper implementation.
Properties
IsSentryIgnored
Get value indicating whether sentry is ignored on the current object for the current thread.
Declaration
bool IsSentryIgnored { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Implementers should use the SentryIgnorableHelper implementation.
Methods
BeginIgnoreSentryCheck()
Starts the process of ignoring sentry on the object implementing the interface on the current thread.
Declaration
IgnoreSentryCheck BeginIgnoreSentryCheck()
Returns
Type | Description |
---|---|
IgnoreSentryCheck | Disposable object that calls EndIgnoreSentryCheck() on Dispose. |
Remarks
Implementers should use the SentryIgnorableHelper implementation.
EndIgnoreSentryCheck()
Ends the process of ignoring sentry on the object implementing the interface on the current thread.
Declaration
void EndIgnoreSentryCheck()
Remarks
Implementers should use the SentryIgnorableHelper implementation.