DotMSN |

# P2PMessageSession.UnregisterHandler Method

Unregisters a message handler. After registering the handler will no longer receive incoming messages.

[Visual Basic]
NotOverridable Public Sub UnregisterHandler( _
ByVal handler As IMessageHandler _
) _
Implements IMessageProcessor.UnregisterHandler
[C#]
public void UnregisterHandler(
IMessageHandler handler
);

#### Parameters

handler

#### Implements

IMessageProcessor.UnregisterHandler

#### See Also

P2PMessageSession Class | XihSolutions.DotMSN.DataTransfer Namespace