DicomObjects.NET10 Documentation
DicomObjects.DicomWeb Namespace / StowEventArgs Class / SetCustomHttpStatus Method
HttpStatusCode



In This Topic
    SetCustomHttpStatus Method
    In This Topic
    Provides an option for user to set the custom HttpStatusCode in response to failed STOW operation User provided Status code will be returned in the case where all STOW datasets failed or a partial failure occurs. This does not affect cases where all STOW datasets succeeded in which case a HTTPStatusCode.OK will be returned to STOW client
    Syntax
    'Declaration
     
    
    Public Sub SetCustomHttpStatus( _
       ByVal CustomStatus As Nullable(Of HttpStatusCode) _
    ) 
    'Usage
     
    
    Dim instance As StowEventArgs
    Dim CustomStatus As Nullable(Of HttpStatusCode)
     
    instance.SetCustomHttpStatus(CustomStatus)
    public void SetCustomHttpStatus( 
       Nullable<HttpStatusCode> CustomStatus
    )
    public:
    void SetCustomHttpStatus( 
       Nullable<HttpStatusCode> CustomStatus
    ) 

    Parameters

    CustomStatus
    HttpStatusCode
    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