- timeout
- The Timeout value in seconds.
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- timeout
- The Timeout value in seconds.
For an example, refer to DicomPrintScu.Associate(String,Int32,String,String,DicomPrintScuPrintManagementClassFlags).
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 DicomPrintScu.Associate(String,Int32,String,String,DicomPrintScuPrintManagementClassFlags), 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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family