共用方式為


CallConcurrencyKind Enumeration

Defines how the owner of an Operation handles concurrent calls.

Namespace:  Microsoft.VisualStudio.Uml.CommonBehaviors
Assembly:  Microsoft.VisualStudio.Uml.Interfaces (in Microsoft.VisualStudio.Uml.Interfaces.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public Enumeration CallConcurrencyKind
[CLSCompliantAttribute(true)]
public enum CallConcurrencyKind
[CLSCompliantAttribute(true)]
public enum class CallConcurrencyKind
[<CLSCompliantAttribute(true)>]
type CallConcurrencyKind
public enum CallConcurrencyKind

Members

Member name Description
Concurrent The Operation or its owner can handle multiple concurrent calls.
Guarded The Operation or its owner will block calls so that only one is processed at a time.
Sequential The Operation or its owner is not designed to handle concurrent calls.

Remarks

Note

The methods defined on this type are extension methods. To use the methods, you must add a project reference to the .NET assembly Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll, and you must include the directive using Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml; in your code.

See Also

Reference

Microsoft.VisualStudio.Uml.CommonBehaviors Namespace