Estereótipos do Perfil .Net WCF

Esse conteúdo se aplica à versão 7.5.1, ou posterior. O perfil .Net WCF contém estereótipos que você pode aplicar a classes e a outros elementos UML para representar componentes Windows® Communication Foundation (WCF). Cada estereótipo possui um conjunto de atributos e tipos válidos definidos anteriormente.

A tabela a seguir lista os estereótipos do perfil e seus atributos e tipos relacionados.

Nota: Na maioria das instâncias, não aplique mais de um estereótipo a um elemento de modelo UML. Pode haver cenários em que mais de um estereótipo pode ser aplicado. Por exemplo, um campo pode ou não ter um estereótipo «CSharp Field». Se o campo for um ponteiro, ele precisará do estereótipo «CSharp Pointer». Além disso, se o tipo do campo for uma matriz, ele precisará do estereótipo «CSharp Array». Nesse caso, a propriedade UML pode ter três estereótipos: «CSharp Field», «CSharp Pointer» e «CSharp Array».
Estereótipo Aplicável a Propriedades de estereótipo Tipo (valor padrão)
«CallbackBehavior» Classe

AutomaticSessionShutdown
ConcurrencyMode
IgnoreExtensionDateObject
IncludeExceptionDetailInFaults
MaxItemsInObjectGraph
TransactionIsolationLevel
TransactionTimeout
UseSynchronizationContext
ValidateMustUnderstand

Boolean (True)
ConcurrencyMode (Single)
Boolean (False)
Boolean (False)
Integer (65536)
IsolationLevel (Unspecified)
String
Boolean (True)
Boolean (True)

«CollectionDataContract» Classe, estrutura

ItemName
KeyName
Name
Namespace
Valuename

String
String
String
String
String

«DataContract» Classe, estrutura, enumeração

Name
Namespace

String
String

«DataMember» Propriedade, campo

EmitDefaultValue
IsRequired
Name
Order

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

«DataContractFormat» Classe, interface, método

Style

OperationFormatStyle (Document)

«DeliveryRequirements» Classe, interface

QueuedDeliveryRequirements
RequireOrderedDelivery
TargetContract

QueuedDeliveryRequirementsMode (Allowed)
Boolean (False)
Type

«EnumMember» Literal de enumeração Valor String
«FaultContract» Método

DetailType
Name
Namespace
ProtectionLevel
Action

Type
String
String
ProtectionLevel (None)
String

«KnownType» Classe, estrutura

MethodName
Type

String
Type

«MessageBodyMember» Propriedade, campo

Order
Name
Namespace
ProtectionLevel

Integer (-1)
String
String
ProtectionLevel (None)

«MessageContract» Classe, estrutura

ProtectionLevel
IsWrapped
WrapperName
WrapperNamespace

ProtectionLevel (None)
Boolean (True)
String
String

«MessageHeaderArray» Propriedade, campo

Actor
MustUnderstand
Relay
Name
Namespace
ProtectionLevel

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

«MessageHeader» Propriedade, campo

Actor
MustUnderstand
Relay
Name
Namespace
ProtectionLevel

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

«MessageParameter» Parâmetro, parâmetro de retorno

Name

String

«MessageProperty» Propriedade, campo Name String
«OperationBehavior» Método

AutoDisposeParameters
Impersonation
ReleaseInstanceMode
TransactionAutoComplete
TransactionScopeRequired

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

«OperationContract» Método

Action
AsyncPattern
ProtectionLevel
IsInitiating
IsTerminating
IsOneWay
Name
ReplyAction

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

«OnDeserialized» Método Não aplicável Não aplicável
«OnDeserializing» Método Não aplicável Não aplicável
«OnSerialized» Método Não aplicável Não aplicável
«OnSerializing» Método Não aplicável Não aplicável
«OptionalField» Campo VersionAdded Integer (1)
«PeerHopCount» Propriedade, campo    
«ServiceBehavior» Classe

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 (Unspecified)
String
Boolean (True)
Boolean (True)

«ServiceContract» Classe, interface

CallbackContract
ConfigurationName
ProtectionLevel
Name
Namespace
SessionMode

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

«ServiceKnownType» Classe, método, interface

DeclaringType
MethodName
Type

Type
String
Type

«TransactionFlow» Método

Transactions

TransactionFlowOption

«XmlSerializerFormat» Classe, interface, método

Style
Use

OperationFormatStyle (Document)
OperationFormatUse (Literal)


Feedback