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

CacheInvalidator.SendMessageAsync Method

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

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.5.4.0 (6.5.4.0)
Syntax
C#
protected abstract 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