MustRunInClientContextAttribute MustRunInClientContextAttribute MustRunInClientContextAttribute MustRunInClientContextAttribute Constructors

Definition

Overloads

MustRunInClientContextAttribute() MustRunInClientContextAttribute() MustRunInClientContextAttribute()

Initializes a new instance of the MustRunInClientContextAttribute class, requiring creation of the object in the context of the creator.

MustRunInClientContextAttribute(Boolean) MustRunInClientContextAttribute(Boolean) MustRunInClientContextAttribute(Boolean) MustRunInClientContextAttribute(Boolean)

Initializes a new instance of the MustRunInClientContextAttribute class, optionally not creating the object in the context of the creator.

MustRunInClientContextAttribute() MustRunInClientContextAttribute() MustRunInClientContextAttribute()

Initializes a new instance of the MustRunInClientContextAttribute class, requiring creation of the object in the context of the creator.

public:
 MustRunInClientContextAttribute();
public MustRunInClientContextAttribute ();
Public Sub New ()

Examples

The following code example creates a new MustRunInClientContextAttribute.

[MustRunInClientContext]
public class MustRunInClientContextAttribute_Ctor : ServicedComponent
{
}
<MustRunInClientContext()>  _
Public Class MustRunInClientContextAttribute_Ctor
    Inherits ServicedComponent
End Class

MustRunInClientContextAttribute(Boolean) MustRunInClientContextAttribute(Boolean) MustRunInClientContextAttribute(Boolean) MustRunInClientContextAttribute(Boolean)

Initializes a new instance of the MustRunInClientContextAttribute class, optionally not creating the object in the context of the creator.

public:
 MustRunInClientContextAttribute(bool val);
public MustRunInClientContextAttribute (bool val);
new System.EnterpriseServices.MustRunInClientContextAttribute : bool -> System.EnterpriseServices.MustRunInClientContextAttribute
Public Sub New (val As Boolean)

Parameters

val
Boolean Boolean Boolean Boolean

true to create the object in the context of the creator; otherwise, false.

Examples

The following code example creates a new MustRunInClientContextAttribute.

[MustRunInClientContext(false)]
public class MustRunInClientContextAttribute_Ctor_Bool : ServicedComponent
{
}
<MustRunInClientContext(False)>  _
Public Class MustRunInClientContextAttribute_Ctor_Bool
    Inherits ServicedComponent
End Class

Applies to