IsOKToActivate Method

IContextPropertyActivator.IsOKToActivate Method (IConstructionCallMessage)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Indicates whether it is all right to activate the object type indicated in the msg parameter.

Namespace:   System.Runtime.Remoting.Contexts
Assembly:  mscorlib (in mscorlib.dll)

[SecurityCriticalAttribute]
bool IsOKToActivate(
	IConstructionCallMessage msg
)

Return Value

Type: System.Boolean

A Boolean value indicating whether the requested type can be activated.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft