ConversationUpdateRouteBuilderBase<TBuilder>.WithUpdateEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the route to match a specific ConversationUpdateEvents, such as members being added or removed.
public TBuilder WithUpdateEvent(string eventName);
member this.WithUpdateEvent : string -> 'Builder
Public Function WithUpdateEvent (eventName As String) As TBuilder
Parameters
- eventName
- String
The name of the conversation update event to match. Common values include events for members being added or removed. Cannot be null.
Returns
The current builder instance for method chaining.
Remarks
Use this method to restrict the route to trigger only for a particular conversation update event. If the specified event is not recognized, the route will match any conversation update activity.