.Net WCF プロファイルのステレオタイプ

このコンテンツは、バージョン 7.5.1 以降に適用されます。.Net WCF プロファイルには、Windows® Communication Foundation (WCF) コンポーネントを表すクラスおよび他の UML 要素に適用できるステレオタイプが含まれます。各ステレオタイプは、事前定義済みの有効な属性とタイプのセットを持ちます。

以下の表には、プロファイルのステレオタイプ、およびそれに関連する属性とタイプがリストされています。

注: ほとんどの例で、1 つの UML モデル要素に複数のステレオタイプを適用することはできません。 複数のステレオタイプを適用可能な場合もあります。 例えば、あるフィールドに対し «CSharp Field» ステレオタイプは、あってもなくても構いません。このフィールドがポインターである場合は、«CSharp Pointer» ステレオタイプが必要です。また、そのフィールドの型が配列である場合は、«CSharp Array» ステレオタイプが必要です。この場合、UML プロパティーは 3 つのステレオタイプ、«CSharp Field»、«CSharp Pointer»、および «CSharp Array» を持つことができます。
ステレオタイプ 適用先 ステレオタイプのプロパティー タイプ (デフォルト値)
«CallbackBehavior» クラス

AutomaticSessionShutdown
ConcurrencyMode
IgnoreExtensionDateObject
IncludeExceptionDetailInFaults
MaxItemsInObjectGraph
TransactionIsolationLevel
TransactionTimeout
UseSynchronizationContext
ValidateMustUnderstand

Boolean (True)
ConcurrencyMode (Single)
Boolean (False)
Boolean (False)
Integer (65536)
IsolationLevel (指定なし)
String
Boolean (True)
Boolean (True)

«CollectionDataContract» クラス、構造

ItemName
KeyName
Name
Namespace
Valuename

String
String
String
String
String

«DataContract» クラス、構造、列挙

Name
名前空間

String
String

«DataMember» プロパティー、フィールド

EmitDefaultValue
IsRequired
Name
Order

Boolean (True)
Boolean (False)
String
Integer (-1)

«DataContractFormat» クラス、インターフェース、メソッド

Style

OperationFormatStyle (Document)

«DeliveryRequirements» クラス、インターフェース

QueuedDeliveryRequirements
RequireOrderedDelivery
TargetContract

QueuedDeliveryRequirementsMode (Allowed)
Boolean (False)
タイプ

«EnumMember» 列挙型リテラル String
«FaultContract» メソッド

DetailType
Name
Namespace
ProtectionLevel
Action

Type
String
String
ProtectionLevel (None)
String

«KnownType» クラス、構造

MethodName
タイプ

String
タイプ

«MessageBodyMember» プロパティー、フィールド

Order
Name
Namespace
ProtectionLevel

Integer (-1)
String
String
ProtectionLevel (None)

«MessageContract» クラス、構造

ProtectionLevel
IsWrapped
WrapperName
WrapperNamespace

ProtectionLevel (None)
Boolean (True)
String
String

«MessageHeaderArray» プロパティー、フィールド

Actor
MustUnderstand
Relay
Name
Namespace
ProtectionLevel

String
Boolean (False)
Boolean (False)
String
String
ProtectionLevel (None)

«MessageHeader» プロパティー、フィールド

Actor
MustUnderstand
Relay
Name
Namespace
ProtectionLevel

String
Boolean (False)
Boolean (False)
String
String
ProtectionLevel (None)

«MessageParameter» パラメーター、戻りパラメーター

Name

String

«MessageProperty» プロパティー、フィールド 名前 String
«OperationBehavior» メソッド

AutoDisposeParameters
Impersonation
ReleaseInstanceMode
TransactionAutoComplete
TransactionScopeRequired

Boolean (True)
ImpersonationOption (NotAllowed)
ReleaseInstanceMode (None)
Boolean (True)
Boolean (False)

«OperationContract» メソッド

Action
AsyncPattern
ProtectionLevel
IsInitiating
IsTerminating
IsOneWay
Name
ReplyAction

String
Boolean (False)
ProtectionLevel (None)
Boolean (True)
Boolean (False)
Boolean (False)
String
String

«OnDeserialized» メソッド 適用外 適用外
«OnDeserializing» メソッド 適用外 適用外
«OnSerialized» メソッド 適用外 適用外
«OnSerializing» メソッド 適用外 適用外
«OptionalField» フィールド VersionAdded Integer (1)
«PeerHopCount» プロパティー、フィールド    
«ServiceBehavior» クラス

AddressFilterMode
AutomaticSessionShutDown
ConcurrencyMode
ConfigurationName
IgnoreExtensionDataObject
IncludeExceptionDetailInFaults
InstanceContextMode
MaxItemsInObjectGraph
Name
Namespace
ReleaseServiceInstanceOnTransactionComplete
TransactionAutoCompleteOnSessionClose
TransactionIsolationLevel
TransactionTimeout
UseSynchronizationContext
ValidateMustUnderstand

AddressFilterMode (Exact)
Boolean (True)
ConcurrencyMode (Single)
String
Boolean (False)
Boolean (False)
InstanceContextMode (PerSession)
Integer (65536)
String
String
Boolean (True)
Boolean (False)
IsolationLevel (指定なし)
String
Boolean (True)
Boolean (True)

«ServiceContract» クラス、インターフェース

CallbackContract
ConfigurationName
ProtectionLevel
Name
Namespace
SessionMode

Type
String
ProtectionLevel (None)
String
String
SessionMode (Allowed)

«ServiceKnownType» クラス、メソッド、インターフェース

DeclaringType
MethodName
タイプ

Type
String
タイプ

«TransactionFlow» メソッド

Transactions

TransactionFlowOption

«XmlSerializerFormat» クラス、インターフェース、メソッド

Style
Use

OperationFormatStyle (Document)
OperationFormatUse (Literal)


フィードバック