CLSCTX extension type enum
Values that are used in activation calls to indicate the execution contexts in which an object is to be run.
To learn more about this enum, see learn.microsoft.com/windows/win32/api/wtypesbase/ne-wtypesbase-clsctx.
Properties
- bitLength → int
-
Returns the minimum number of bits required to store this integer.
no setterinherited
- hashCode → int
-
Returns a hash code for a numerical value.
no setterinherited
- isEven → bool
-
Returns true if and only if this integer is even.
no setterinherited
- isFinite → bool
-
Whether this number is finite.
no setterinherited
- isInfinite → bool
-
Whether this number is positive infinity or negative infinity.
no setterinherited
- isNaN → bool
-
Whether this number is a Not-a-Number value.
no setterinherited
- isNegative → bool
-
Whether this number is negative.
no setterinherited
- isOdd → bool
-
Returns true if and only if this integer is odd.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sign → int
-
Returns the sign of this integer.
no setterinherited
Methods
-
abs(
) → int -
Returns the absolute value of this integer.
inherited
-
ceil(
) → int -
Returns
this
.inherited -
ceilToDouble(
) → double -
Returns
this.toDouble()
.inherited -
clamp(
num lowerLimit, num upperLimit) → num -
Returns this num clamped to be in the range
lowerLimit
-upperLimit
.inherited -
compareTo(
num other) → int -
Compares this to
other
.inherited -
floor(
) → int -
Returns
this
.inherited -
floorToDouble(
) → double -
Returns
this.toDouble()
.inherited -
gcd(
int other) → int -
Returns the greatest common divisor of this integer and
other
.inherited -
modInverse(
int modulus) → int -
Returns the modular multiplicative inverse of this integer
modulo
modulus
.inherited -
modPow(
int exponent, int modulus) → int -
Returns this integer to the power of
exponent
modulomodulus
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remainder(
num other) → num -
The remainder of the truncating division of
this
byother
.inherited -
round(
) → int -
Returns
this
.inherited -
roundToDouble(
) → double -
Returns
this.toDouble()
.inherited -
toDouble(
) → double -
This number as a double.
inherited
-
toInt(
) → int -
Truncates this num to an integer and returns the result as an int.
inherited
-
toRadixString(
int radix) → String -
Converts this to a string representation in the given
radix
.inherited -
toSigned(
int width) → int -
Returns the least significant
width
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
.inherited -
toString(
) → String -
Returns a string representation of this integer.
inherited
-
toStringAsExponential(
[int? fractionDigits]) → String -
An exponential string-representation of this number.
inherited
-
toStringAsFixed(
int fractionDigits) → String -
A decimal-point string-representation of this number.
inherited
-
toStringAsPrecision(
int precision) → String -
A string representation with
precision
significant digits.inherited -
toUnsigned(
int width) → int -
Returns the least significant
width
bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
.inherited -
truncate(
) → int -
Returns
this
.inherited -
truncateToDouble(
) → double -
Returns
this.toDouble()
.inherited
Operators
-
operator %(
num other) → num -
Euclidean modulo of this number by
other
.inherited -
operator &(
int other) → int -
Bit-wise and operator.
inherited
-
operator *(
num other) → num -
Multiplies this number by
other
.inherited -
operator +(
num other) → num -
Adds
other
to this number.inherited -
operator -(
num other) → num -
Subtracts
other
from this number.inherited -
operator /(
num other) → double -
Divides this number by
other
.inherited -
operator <(
num other) → bool -
Whether this number is numerically smaller than
other
.inherited -
operator <<(
int shiftAmount) → int -
Shift the bits of this integer to the left by
shiftAmount
.inherited -
operator <=(
num other) → bool -
Whether this number is numerically smaller than or equal to
other
.inherited -
operator ==(
Object other) → bool -
Test whether this value is numerically equal to
other
.inherited -
operator >(
num other) → bool -
Whether this number is numerically greater than
other
.inherited -
operator >=(
num other) → bool -
Whether this number is numerically greater than or equal to
other
.inherited -
operator >>(
int shiftAmount) → int -
Shift the bits of this integer to the right by
shiftAmount
.inherited -
operator >>>(
int shiftAmount) → int -
Bitwise unsigned right shift by
shiftAmount
bits.inherited -
operator ^(
int other) → int -
Bit-wise exclusive-or operator.
inherited
-
operator unary-(
) → int -
Return the negative value of this integer.
inherited
-
operator |(
int other) → int -
Bit-wise or operator.
inherited
-
operator ~(
) → int -
The bit-wise negate operator.
inherited
-
operator ~/(
num other) → int -
Truncating division operator.
inherited
Constants
- CLSCTX_ACTIVATE_32_BIT_SERVER → const int
- Activate or connect to a 32-bit version of the server; fail if one is not registered.
- CLSCTX_ACTIVATE_64_BIT_SERVER → const int
- Activate or connect to a 64 bit version of the server; fail if one is not registered.
- CLSCTX_ACTIVATE_AAA_AS_IU → const int
- Specify this flag for Interactive User activation behavior for As-Activator servers.
- CLSCTX_ACTIVATE_ARM32_SERVER → const int
- CLSCTX_ACTIVATE_X86_SERVER → const int
- CLSCTX_ALL → const int
- CLSCTX_ALLOW_LOWER_TRUST_REGISTRATION → const int
- CLSCTX_APPCONTAINER → const int
- Indicates activation is for an app container.
- CLSCTX_DISABLE_AAA → const int
- Disables activate-as-activator (AAA) activations for this activation only.
- CLSCTX_ENABLE_AAA → const int
- Enables activate-as-activator (AAA) activations for this activation only.
- CLSCTX_ENABLE_CLOAKING → const int
- When this flag is specified, COM uses the impersonation token of the thread, if one is present, for the activation request made by the thread.
- CLSCTX_ENABLE_CODE_DOWNLOAD → const int
- Enables the downloading of code from the directory service or the Internet.
- CLSCTX_FROM_DEFAULT_CONTEXT → const int
- Begin this activation from the default context of the current apartment.
- CLSCTX_INPROC_HANDLER → const int
- The code that manages objects of this class is an in-process handler.
- CLSCTX_INPROC_HANDLER16 → const int
- Obsolete.
- CLSCTX_INPROC_SERVER → const int
- The code that creates and manages objects of this class is a DLL that runs in the same process as the caller of the function specifying the class context.
- CLSCTX_INPROC_SERVER16 → const int
- Obsolete.
- CLSCTX_LOCAL_SERVER → const int
- The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space.
- CLSCTX_NO_CODE_DOWNLOAD → const int
- Disables the downloading of code from the directory service or the Internet.
- CLSCTX_NO_CUSTOM_MARSHAL → const int
- Specify if you want the activation to fail if it uses custom marshalling.
- CLSCTX_NO_FAILURE_LOG → const int
- The CLSCTX_NO_FAILURE_LOG can be used to override the logging of failures in CoCreateInstanceEx.
- CLSCTX_PS_DLL → const int
- Used for loading Proxy/Stub DLLs.
- CLSCTX_REMOTE_SERVER → const int
- A remote context.
- CLSCTX_RESERVED1 → const int
- Reserved.
- CLSCTX_RESERVED2 → const int
- Reserved.
- CLSCTX_RESERVED3 → const int
- Reserved.
- CLSCTX_RESERVED4 → const int
- Reserved.
- CLSCTX_RESERVED5 → const int
- Reserved.
- CLSCTX_RESERVED6 → const int
- CLSCTX_SERVER → const int