Bewerken

Delen via


MessageContext.AddFeature<T>(T) Method

Definition

Sets the feature of the IMessageSource in the Features.

public:
generic <typename T>
 void AddFeature(T feature);
public void AddFeature<T>(T feature);
member this.AddFeature : 'T -> unit
Public Sub AddFeature(Of T) (feature As T)

Type Parameters

T

The type of the feature to be added to the Features.

Parameters

feature
T

The feature to be added to the Features.

Exceptions

feature is null.

Applies to