BindToTypePolicy.QueryNonTrustedTypeValidationEventArgs Members
Contains data for the QueryNonTrustedTypeValidation event.Fields
Name | Description |
---|---|
Empty static | Provides a value to use with events that do not have event data. Inherited from EventArgs. |
Properties
Name | Description |
---|---|
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. |
IsKnownTypeDescendant | Gets whether the type derives from the “safe” type. |
IsMalformedOrCorrupted | Gets whether the type is malformed (invalid). |
IsUnsafe | Gets whether the type is unsafe. |
QueryLevel | This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BindToTypePolicy.BindToTypeBaseQueryArgs. |
TypeName | Gets the type name. |
Methods
Name | Description |
---|---|
DoNotTrustThisType() | Specifies that the custom (“unknown”) type is “unsafe” and throws a security warning. |
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 that represents the current object. Inherited from Object. |
TrustThisType(Boolean) | Specifies that the custom (“unknown”) type is “safe” and suppresses a security warning. |
See Also