PartDiscovery.ThrowOnInvalidImportingMemberOrParameter 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 certain basic rules for an importing member or parameter are violated.
protected virtual void ThrowOnInvalidImportingMemberOrParameter (System.Reflection.ICustomAttributeProvider member, bool isImportMany);
abstract member ThrowOnInvalidImportingMemberOrParameter : System.Reflection.ICustomAttributeProvider * bool -> unit
override this.ThrowOnInvalidImportingMemberOrParameter : System.Reflection.ICustomAttributeProvider * bool -> unit
Protected Overridable Sub ThrowOnInvalidImportingMemberOrParameter (member As ICustomAttributeProvider, isImportMany As Boolean)
Parameters
- member
- ICustomAttributeProvider
The importing member or importing parameter.
- isImportMany
- Boolean
A value indicating whether the import is an ImportMany.