ChannelFactoryBase.OnClose(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts processing on a communication object after it transitions into the opening state which must complete within a specified interval of time.
protected:
override void OnClose(TimeSpan timeout);
protected override void OnClose (TimeSpan timeout);
override this.OnClose : TimeSpan -> unit
Protected Overrides Sub OnClose (timeout As TimeSpan)
Parameters
- timeout
- TimeSpan
The TimeSpan that specifies how long the on close operation has to complete before timing out.
Remarks
The default implementation is empty.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.