Freigeben über


EntityMetadata.ActivityTypeMask Eigenschaft

Gets or sets whether a custom activity should appear in the activity menus in the Web application.

Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property ActivityTypeMask As Nullable(Of Integer)
[DataMemberAttribute] 
public Nullable<int> ActivityTypeMask { get; set; }

Eigenschaftswert

Type: NULL-Werte zulässig<Int32>
The value indicates whether a custom activity should appear in the activity menus in the Web application.

Anmerkungen

For a custom activity the default value is 1. This means that the custom activity is available in activity menus. Set this property to 0 at the creation of a custom activity to prevent displaying it in the activity menus. This value cannot be updated after the custom activity is created.

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

EntityMetadata Klasse
EntityMetadata Mitglieder
Microsoft.Xrm.Sdk.Metadata Namespace

Weitere Ressourcen

Custom Activities in Microsoft Dynamics CRM
Sample: Create a Custom Activity Entity

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.