PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace/Redis­Cache­Invalidator Class/Redis­Cache­Invalidator Methods/Redis­Cache­Invalidator.​Send­Message­Async Method

RedisCacheInvalidator.SendMessageAsync Method

Sends an invalidation message over the message bus of the implementation.

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 6.5.12.0 (6.5.12.0)
Syntax
C#
protected override Task SendMessageAsync(
	string message,
	CancellationToken cancellationToken
)

Parameters

message
Type: System.String
A serialized, opaque serialization message.
cancellationToken
Type: System.Threading.CancellationToken
A CancellationToken.

Return Value

Type: Task
A Task.
See Also