SetFailed(DicomDataSet,HttpStatusCode) Method
In This Topic
Indicate that an instance was not accepted
Syntax
'Declaration
Public Overloads Sub SetFailed( _
ByVal As DicomDataSet, _
ByVal As System.Net.HttpStatusCode _
)
'Usage
Dim instance As StowEventArgs
Dim DataSet As DicomDataSet
Dim Reason As System.Net.HttpStatusCode
instance.SetFailed(DataSet, Reason)
public void SetFailed(
DicomDataSet ,
System.Net.HttpStatusCode
)
public procedure SetFailed(
: DicomDataSet;
: System.Net.HttpStatusCode
);
public function SetFailed(
: DicomDataSet,
: System.Net.HttpStatusCode
);
public: void SetFailed(
DicomDataSet* ,
System.Net.HttpStatusCode
)
public:
void SetFailed(
DicomDataSet^ ,
System.Net.HttpStatusCode
)
Parameters
- DataSet
- The accepted instance
- Reason
- The HTTP error reason code, which will be returned to the client
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also