You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NotImplementException was threw in ComStream.Close() when IStream is not a file. Better to catch that exception and ignore it silently.
AtSystem.Runtime.InteropServices.ComTypes.IStream.Commit(Int32grfCommitFlags)
AT Vanara.InteropServices.ComStream.Close()
What code is involved
// In my case get IStream from clipboard format: "FileContents".// I guess NotImplementException should also threw if IStream is not a file newComStream(IStream).Dispose()//Although we should not dispose an object from clipboard
Expected behavior
Do not threw any exception on dispose, catch all exceptions and ignore them.
The text was updated successfully, but these errors were encountered:
Describe the bug and how to reproduce
NotImplementException was threw in ComStream.Close() when IStream is not a file. Better to catch that exception and ignore it silently.
What code is involved
Expected behavior
Do not threw any exception on dispose, catch all exceptions and ignore them.
The text was updated successfully, but these errors were encountered: