PersistMessages(T) Method

Glimpse API

TabContextExtensions PersistMessages T  Method Glimpse API Documentation
Persists all messages of type T to a thread safe store. Persisted messages can be retrieved with GetMessages<T>.

Namespace: Glimpse.Core.Extensions
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public static void PersistMessages<T>(
	this ITabSetupContext context
)
public static void PersistMessages<T>(
	this ITabSetupContext context
)

Parameters

context
Type: Glimpse.Core.Extensibility ITabSetupContext
The context.
Type Parameters

T
The type of message to persist.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITabSetupContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also