Sets the timeout value for communicating with the Print SCP.
public void SetTimeout(
int timeout
)
Public Sub SetTimeout( _
ByVal timeout As Integer _
)
public:
void SetTimeout(
int timeout
)
timeout
The Timeout value in seconds.
When a method of the DicomPrintScu class sends a request to the Print SCP, it waits a specific amount of time for the Print SCP response. If this amount of time has elapsed before the response is received, the method will fail and throw a DicomExceptionCode.PrintSCUTimeout exception. Use SetTimeout to set this timeout value. If the value specified is 0, the methods will wait for the Print SCP response indefinitely. For the method Associate, the connection must be established and the Print SCP response to the Association request must be received within the amount of time specified.
If this method is not used to set the timeout value, a default value of 30 seconds will be used.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document