Interface IUpdateStoreContextCallback<TContext>

The callback interface for UpdateStore<TContext>(String, TContext, IUpdateStoreContextCallback<TContext>) calls.

Inherited Members
IContextCallback<TContext>.OnError(TContext, ErrorReason)
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients.SecurityControl
Assembly: Diffusion.Client.dll
Syntax
public interface IUpdateStoreContextCallback<in TContext> : IContextCallback<TContext>
Type Parameters
Name Description
TContext

The context type.

Remarks

Caution

Deprecated since 6.7. Methods that use contextual callbacks are deprecated and will be removed in a future release. Use a Task instead.

Methods

OnRejected(TContext, IReadOnlyCollection<IErrorReport>)

The script was rejected and no changes were made to the security store.

Declaration
void OnRejected(TContext context, IReadOnlyCollection<IErrorReport> errors)
Parameters
Type Name Description
TContext context

The context for this operation.

IReadOnlyCollection<IErrorReport> errors

The details of why the script was rejected.

OnSuccess(TContext)

The script was applied successfully.

Declaration
void OnSuccess(TContext context)
Parameters
Type Name Description
TContext context

The context for this operation.

Back to top