CommunicationObject.Open Method
.NET Framework 4
Causes a communication object to transition from the created state into the opened state.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Open() | Causes a communication object to transition from the created state into the opened state. |
|
Open(TimeSpan) | Causes a communication object to transition from the created state into the opened state within a specified interval of time. |
When called, the Open method causes a CommunicationObject to enter into the Opening state and calls OnOpening, Open, and OnOpened. The OnOpened method completes the Open method by setting the state of the object to the Opened state.