PolicyConversionContext.GetOperationBindingAssertions Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Returnerar en samling principkontroller för den angivna åtgärden.
public:
abstract System::ServiceModel::Description::PolicyAssertionCollection ^ GetOperationBindingAssertions(System::ServiceModel::Description::OperationDescription ^ operation);
public abstract System.ServiceModel.Description.PolicyAssertionCollection GetOperationBindingAssertions(System.ServiceModel.Description.OperationDescription operation);
abstract member GetOperationBindingAssertions : System.ServiceModel.Description.OperationDescription -> System.ServiceModel.Description.PolicyAssertionCollection
Public MustOverride Function GetOperationBindingAssertions (operation As OperationDescription) As PolicyAssertionCollection
Parametrar
- operation
- OperationDescription
Det OperationDescription objekt för vilket principkontroller ska läggas till eller för vilka bindningar ska konfigureras.
Returer
Principkontrollerna för åtgärden.
Kommentarer
Samlingen som returneras från GetOperationBindingAssertions är inte en kopia. Du kan lägga till och ta bort försäkran efter behov.