SPUserCodeWrapper.UserCodeAssemblyGroup property

Gets or set the SPUserCodeCachedAssemblyGroup object that this wrapper should use.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UserCodeAssemblyGroup As SPUserCodeCachedAssemblyGroup
    Get
    Set
'Usage
Dim instance As SPUserCodeWrapper
Dim value As SPUserCodeCachedAssemblyGroup

value = instance.UserCodeAssemblyGroup

instance.UserCodeAssemblyGroup = value
public SPUserCodeCachedAssemblyGroup UserCodeAssemblyGroup { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPUserCodeCachedAssemblyGroup
A SPUserCodeCachedAssemblyGroup object.

Exceptions

Exception Condition
ArgumentNullException

The value provided is a null reference (Nothing in Visual Basic.)

InvalidOperationException

The property was already set. This property can only be set once.

Remarks

This property must only be set once by the worker process manager that activated this object instance.

See also

Reference

SPUserCodeWrapper class

SPUserCodeWrapper members

Microsoft.SharePoint.Administration namespace