Scenario:
The user sits in the client and closes it via ctrl + alt + del.
When I first access the service method, I do this:
if (channel == null) { channel = OperationContext.Current.Channel; channel.Closed += UnlockDictionary; channel.Faulted += UnlockDictionary; Dictionary_id = dictionary_id; }
And the event is triggered on the side of the service, for example, when you exit the using context on the client.
However, if the user does ctrl + alt + del, then I don’t get into this event, although the user called one of the methods => the link to the channel was saved.