connection category

avatar

i try to set the connection category, but i get an error, when i use this in the AddOn.cs:
public override SessionAddOnConnectionCategory ConnectionCategory
{
get
{
return SessionAddOnConnectionCategory.RemoteConnection;
}
}

error: there is no matching method to override....

All Comments (3)

avatar

Hi,
It's not a method to override, you must implements the interface ISessionAddOn2

David Hervieux

avatar

im nearly new to interfaces and so one, so where and how do i have to implement this class and how do i set then the connection cattegory

avatar

Hi,
I verified and I completely forgot that you can use BaseSessionAddOn2 as your base class instead of BaseSessionAddOn. After that, you will be able to override the ConnectionCategory.

David Hervieux

Sysadminotaur pondering a question Special Q&A

Our CTO is answering your AI questions

A rare opportunity — ask our CTO directly.

9 questions already asked Ends in 5 days
Ask your question →