CommunicationObject.ThrowIfDisposed 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.
Throws an exception if the communication object is disposed.
protected public:
void ThrowIfDisposed();
protected internal void ThrowIfDisposed ();
member this.ThrowIfDisposed : unit -> unit
Protected Friend Sub ThrowIfDisposed ()
Exceptions
The communication object is in a Faulted state.
Remarks
No exception is thrown if the communication object is in a Created, Opening or Opened state. A communication object is disposed once Close is called on it.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.