CommunicationObject.ThrowIfDisposedOrImmutable Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Throws an exception if the communication object the State property is not set to the Created state.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | |
| ObjectDisposedException | |
| CommunicationObjectFaultedException | The communication object is in a Faulted state. |
Show: