Releases the unmanaged resources used by the MessageBuffer and optionally releases the managed resources. This method cannot be inherited.
Assemblies: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
Call this method when you are finished using the MessageBuffer. This method leaves the MessageBuffer in an unusable state. After calling this method, you must release all references to the MessageBuffer so the garbage collector can reclaim the memory that the MessageBuffer was occupying.