DicomObjects.NET Core Documentation
DicomObjects.DicomWeb Namespace / StowEventArgs Class / SetFailed Method
The accepted instance
The error reason code, which will be returned ot the client



In This Topic
    SetFailed Method
    In This Topic
    Indicate that an instance was not accepted
    Syntax
    'Declaration
     
    
    Public Sub SetFailed( _
       ByVal DataSet As DicomDataSet, _
       ByVal Reason As Integer _
    ) 
    'Usage
     
    
    Dim instance As StowEventArgs
    Dim DataSet As DicomDataSet
    Dim Reason As Integer
     
    instance.SetFailed(DataSet, Reason)
    public void SetFailed( 
       DicomDataSet DataSet,
       int Reason
    )
    public:
    void SetFailed( 
       DicomDataSet^ DataSet,
       int Reason
    ) 

    Parameters

    DataSet
    The accepted instance
    Reason
    The error reason code, which will be returned ot the client
    Remarks
    Either this, or SetSuccess should be called for each instance in DataSets before returning from the event
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also