SetPublishTimeout Method
- Last UpdatedApr 08, 2026
- 1 minute read
Deprecated: Sets the timeout to use for publishing messages.
[Obsolete("Replace usages with --> bool SetParameter(string parameterName, string parameterValue) <-- [OCTOBER 2021]")]
public void SetPublishTimeout(
int timeout
)
[Obsolete("Replace usages with --> bool SetParameter(string parameterName, string parameterValue) <-- [OCTOBER 2021]")]
public:
void SetPublishTimeout(
int timeout
)
Parameters
- timeout
- The timeout in milliseconds.
This command has been deprecated. Use SetParameter with value PS_PUBLISH_TIMEOUT.
The default is -1, which means infinity.