Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SendAssociateReject Method
See Also 
Leadtools.Dicom Namespace > DicomNet Class : SendAssociateReject Method




result
The type of the rejection.
source
The source of the rejection.
reason
The reason for the rejection.
Sends an Associate Reject message to a connection.

Syntax

Visual Basic (Declaration) 
Public Sub SendAssociateReject( _
   ByVal result As DicomAssociateRejectResultType, _
   ByVal source As DicomAssociateRejectSourceType, _
   ByVal reason As DicomAssociateRejectReasonType _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomNet
Dim result As DicomAssociateRejectResultType
Dim source As DicomAssociateRejectSourceType
Dim reason As DicomAssociateRejectReasonType
 
instance.SendAssociateReject(result, source, reason)
Managed Extensions for C++ 
public: void SendAssociateReject( 
   DicomAssociateRejectResultType result,
   DicomAssociateRejectSourceType source,
   DicomAssociateRejectReasonType reason
) 

Parameters

result
The type of the rejection.
source
The source of the rejection.
reason
The reason for the rejection.

Example

For an example, refer to SendAssociateRequest.

Remarks

SendAssociateReject is sent by the SCP in response to a SendAssociateRequest call placed by an SCU. It generates a call to OnReceiveAssociateReject on the SCU.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features