NetReceiveCCancelRequest Example for VB.NET
'LEADDICOMNet1 is a predefined LEADDicomNet object
Private Sub LEADDICOMNet1_NetReceiveCCancelRequest(ByVal
hNet As Integer, ByVal nPresentationID As Short, ByVal nMessageID As Short)
Handles LEADDICOMNet1.NetReceiveCCancelRequest
'note, this
sample AE ignores C-CANCEL-REQUEST commands for simplicity
MessageBox.Show("C-CANCEL-REQUEST
was received - " & LEADDICOMNet1.GetPeerAddress(hNet))
End Sub