DicomObjects.NET8 Documentation
DicomObjects.DicomWeb Namespace / StowEventArgs Class / SetFailed Method / SetFailed(DicomDataSetCollection,Int32) Method
The failed instances
The error reason code, which will be returned to the client



In This Topic
    SetFailed(DicomDataSetCollection,Int32) Method
    In This Topic
    Indicate that a collection of instances were not accepted
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetFailed( _
       ByVal DataSets As DicomDataSetCollection, _
       ByVal Reason As Integer _
    ) 
    'Usage
     
    
    Dim instance As StowEventArgs
    Dim DataSets As DicomDataSetCollection
    Dim Reason As Integer
     
    instance.SetFailed(DataSets, Reason)
    public void SetFailed( 
       DicomDataSetCollection DataSets,
       int Reason
    )
    public:
    void SetFailed( 
       DicomDataSetCollection^ DataSets,
       int Reason
    ) 

    Parameters

    DataSets
    The failed instances
    Reason
    The error reason code, which will be returned to the client
    Remarks
    Either this, or SetFailed(DicomDataSet,Int32) 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