Skip to main content
All docs
V23.2

BindToTypePolicy.QueryBindToTypeEventArgs Members

Contains data for the QueryBindToType event.

Constructors

Name Description
QueryBindToTypeEventArgs(Assembly, String, BindToTypePolicy.QueryLevel) Initializes a new instance of the BindToTypePolicy.QueryBindToTypeEventArgs class with specified settings.
QueryBindToTypeEventArgs(String, String, BindToTypePolicy.QueryLevel) Initializes a new instance of the BindToTypePolicy.QueryBindToTypeEventArgs class with specified settings.
QueryBindToTypeEventArgs(Type) Initializes a new instance of the BindToTypePolicy.QueryBindToTypeEventArgs class with specified settings.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Assembly Gets the assembly that contains the processed type.
AssemblyName Gets the assembly name. Inherited from BindToTypePolicy.BindToTypeBaseQueryArgs.
AssemblyQualifiedTypeName Gets the assembly-qualified name of the type, which includes the name of the assembly from which this Type object is being loaded.
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
IsKnownType Gets whether the type is whitelisted (the type is safe). Inherited from BindToTypePolicy.BindToTypeBaseQueryArgs.
QueryLevel This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BindToTypePolicy.BindToTypeBaseQueryArgs.
Type Gets or sets the type.
TypeName Gets the type name.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string in the following format: “Query Level: {QueryLevel.ToString()}, Requested Type: {AssemblyQualifiedTypeName}”.
See Also