WorkflowRuntimeElement Klasa

Definicja

Przestroga

The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*

Reprezentuje element konfiguracji, który określa ustawienia dla wystąpienia programu do hostowania usług Windows WorkflowRuntime Communication Foundation (WCF).

public ref class WorkflowRuntimeElement : System::ServiceModel::Configuration::BehaviorExtensionElement
public class WorkflowRuntimeElement : System.ServiceModel.Configuration.BehaviorExtensionElement
[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public class WorkflowRuntimeElement : System.ServiceModel.Configuration.BehaviorExtensionElement
type WorkflowRuntimeElement = class
    inherit BehaviorExtensionElement
[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type WorkflowRuntimeElement = class
    inherit BehaviorExtensionElement
Public Class WorkflowRuntimeElement
Inherits BehaviorExtensionElement
Dziedziczenie
Dziedziczenie
Atrybuty

Przykłady

<serviceBehaviors>

<behavior name="ServiceBehavior">

<workflowRuntime name="WorkflowServiceHostRuntime" validateOnCreate="true" enablePerformanceCounters="true">

<services>

<add type="NetFx.Checkin.Scenario.WorkflowServices.WorkflowBasedServices.Common.TestPersistenceService.FilePersistenceService, NetFx.Checkin.Scenario.WorkflowServices.WorkflowBasedServices.Common"/>

</services>

</workflowRuntime>

</behavior>

</serviceBehaviors>

Uwagi

Aby włączyć lub wyłączyć jedną ServiceDebugElement z funkcji przy użyciu pliku konfiguracji, należy:

  1. Dodaj atrybut konfiguracji zachowania do elementu usługi usługi WCF. Zachowania punktu końcowego są konfigurowane dla endpoint elementów; zachowania usługi są konfigurowane dla service elementów.

  2. Utwórz sekcję i dodaj element zachowania o nazwie odpowiadającej serviceBehaviors wartości behaviorConfiguration atrybutu z kroku 1.

  3. Dodaj element do elementu behavior z kroku 2 i włącz lub wyłącz serviceDebug różne właściwości zgodnie z potrzebami.

Konstruktory

WorkflowRuntimeElement()

Inicjuje nowe wystąpienie klasy WorkflowRuntimeElement.

Właściwości

BehaviorType

Pobiera typ tego elementu zachowania.

CachedInstanceExpiration

Pobiera lub ustawia wartość określającą czas wygaśnięcia wystąpienia pamięci podręcznej.

CommonParameters

Pobiera kolekcję typowych parametrów używanych przez usługi.

ConfigurationElementName

Pobiera nazwę tego elementu konfiguracji.

(Odziedziczone po ServiceModelExtensionElement)
CurrentConfiguration

Pobiera odwołanie do wystąpienia najwyższego poziomu Configuration , które reprezentuje hierarchię konfiguracji, do którego należy bieżące ConfigurationElement wystąpienie.

(Odziedziczone po ConfigurationElement)
ElementInformation

ElementInformation Pobiera obiekt, który zawiera niezstosowalne informacje i funkcje ConfigurationElement obiektu.

(Odziedziczone po ConfigurationElement)
ElementProperty

ConfigurationElementProperty Pobiera obiekt reprezentujący ConfigurationElement sam obiekt.

(Odziedziczone po ConfigurationElement)
EnablePerformanceCounters

Pobiera lub ustawia wartość, która wskazuje, czy liczniki wydajności są włączone.

EvaluationContext

ContextInformation Pobiera obiekt dla ConfigurationElement obiektu.

(Odziedziczone po ConfigurationElement)
HasContext

Pobiera wartość wskazującą, czy CurrentConfiguration właściwość to null.

(Odziedziczone po ConfigurationElement)
Item[ConfigurationProperty]

Pobiera lub ustawia właściwość lub atrybut tego elementu konfiguracji.

(Odziedziczone po ConfigurationElement)
Item[String]

Pobiera lub ustawia właściwość, atrybut lub element podrzędny tego elementu konfiguracji.

(Odziedziczone po ConfigurationElement)
LockAllAttributesExcept

Pobiera kolekcję zablokowanych atrybutów.

(Odziedziczone po ConfigurationElement)
LockAllElementsExcept

Pobiera kolekcję zablokowanych elementów.

(Odziedziczone po ConfigurationElement)
LockAttributes

Pobiera kolekcję zablokowanych atrybutów.

(Odziedziczone po ConfigurationElement)
LockElements

Pobiera kolekcję zablokowanych elementów.

(Odziedziczone po ConfigurationElement)
LockItem

Pobiera lub ustawia wartość wskazującą, czy element jest zablokowany.

(Odziedziczone po ConfigurationElement)
Name

Pobiera lub ustawia nazwę aparatu środowiska uruchomieniowego przepływu pracy.

Properties

Pobiera wystąpienie ConfigurationPropertyCollection zawierające kolekcję ConfigurationProperty obiektów, które mogą być atrybutami lub ConfigurationElement obiektami tego elementu konfiguracji.

Services

Pobiera kolekcję usług, które zostaną dodane do WorkflowRuntime aparatu.

ValidateOnCreate

Pobiera lub ustawia wartość, która wskazuje, czy walidacja nastąpi podczas tworzenia wystąpienia przepływu pracy.

Metody

CopyFrom(ServiceModelExtensionElement)

Kopiuje zawartość określonego elementu konfiguracji do tego elementu konfiguracji.

(Odziedziczone po ServiceModelExtensionElement)
CreateBehavior()

Tworzy niestandardowe zachowanie na podstawie ustawień tego elementu konfiguracji.

DeserializeElement(XmlReader, Boolean)

Odczytuje kod XML z pliku konfiguracji.

(Odziedziczone po ConfigurationElement)
Equals(Object)

Porównuje bieżące ConfigurationElement wystąpienie z określonym obiektem.

(Odziedziczone po ConfigurationElement)
GetHashCode()

Pobiera unikatową wartość reprezentującą bieżące ConfigurationElement wystąpienie.

(Odziedziczone po ConfigurationElement)
GetTransformedAssemblyString(String)

Zwraca przekształconą wersję określonej nazwy zestawu.

(Odziedziczone po ConfigurationElement)
GetTransformedTypeString(String)

Zwraca przekształconą wersję określonej nazwy typu.

(Odziedziczone po ConfigurationElement)
GetType()

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
Init()

ConfigurationElement Ustawia obiekt na stan początkowy.

(Odziedziczone po ConfigurationElement)
InitializeDefault()

Służy do inicjowania domyślnego zestawu wartości dla ConfigurationElement obiektu.

(Odziedziczone po ConfigurationElement)
IsModified()

Pobiera wartość określającą, czy ten element konfiguracji został zmodyfikowany.

(Odziedziczone po ServiceModelExtensionElement)
IsReadOnly()

Pobiera wartość wskazującą, czy ConfigurationElement obiekt jest tylko do odczytu.

(Odziedziczone po ConfigurationElement)
ListErrors(IList)

Dodaje błędy nieprawidłowej właściwości w tym ConfigurationElement obiekcie i we wszystkich podelementach do przekazanej listy.

(Odziedziczone po ConfigurationElement)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
OnDeserializeUnrecognizedAttribute(String, String)

Pobiera wartość wskazującą, czy podczas deserializacji napotkano nieznany atrybut.

(Odziedziczone po ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)

Pobiera wartość wskazującą, czy podczas deserializacji napotkano nieznany element.

(Odziedziczone po ConfigurationElement)
OnRequiredPropertyNotFound(String)

Zgłasza wyjątek, gdy nie znaleziono wymaganej właściwości.

(Odziedziczone po ConfigurationElement)
PostDeserialize()

Wywoływana po deserializacji.

(Odziedziczone po ConfigurationElement)
PreSerialize(XmlWriter)

Wywoływane przed serializacji.

(Odziedziczone po ConfigurationElement)
Reset(ConfigurationElement)

Resetuje stan wewnętrzny tego obiektu elementu konfiguracji, w tym blokady i kolekcje właściwości.

(Odziedziczone po ServiceModelExtensionElement)
ResetModified()

Resetuje wartość IsModified() metody w false przypadku implementacji w klasie pochodnej.

(Odziedziczone po ConfigurationElement)
SerializeElement(XmlWriter, Boolean)

Zapisuje zawartość tego elementu konfiguracji do pliku konfiguracji.

(Odziedziczone po ServiceModelExtensionElement)
SerializeToXmlElement(XmlWriter, String)

Zapisuje zewnętrzne tagi tego elementu konfiguracji do pliku konfiguracji po zaimplementowaniu w klasie pochodnej.

(Odziedziczone po ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)

Ustawia właściwość na określoną wartość.

(Odziedziczone po ConfigurationElement)
SetPropertyValueIfNotDefaultValue<T>(String, T)

Ustawia wartość właściwości dla elementu konfiguracji, jeśli wartość nie jest wartością domyślną.

(Odziedziczone po ServiceModelConfigurationElement)
SetReadOnly()

IsReadOnly() Ustawia właściwość obiektu ConfigurationElement i wszystkich podelementów.

(Odziedziczone po ConfigurationElement)
ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

Modyfikuje obiekt, ConfigurationElement aby usunąć wszystkie wartości, które nie powinny być zapisywane.

(Odziedziczone po ConfigurationElement)

Dotyczy