CompositionDependency.Satisfied Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a dependency on the specified target.
public:
static System::Composition::Hosting::Core::CompositionDependency ^ Satisfied(System::Composition::Hosting::Core::CompositionContract ^ contract, System::Composition::Hosting::Core::ExportDescriptorPromise ^ target, bool isPrerequisite, System::Object ^ site);
public static System.Composition.Hosting.Core.CompositionDependency Satisfied (System.Composition.Hosting.Core.CompositionContract contract, System.Composition.Hosting.Core.ExportDescriptorPromise target, bool isPrerequisite, object site);
static member Satisfied : System.Composition.Hosting.Core.CompositionContract * System.Composition.Hosting.Core.ExportDescriptorPromise * bool * obj -> System.Composition.Hosting.Core.CompositionDependency
Public Shared Function Satisfied (contract As CompositionContract, target As ExportDescriptorPromise, isPrerequisite As Boolean, site As Object) As CompositionDependency
Parameters
- contract
- CompositionContract
The contract required by the dependency.
- target
- ExportDescriptorPromise
The dependency target. A ExportDescriptorPromise from another part that this part is dependent on.
- isPrerequisite
- Boolean
true
to indicate that the dependency is a prerequisite that must be satisfied before any exports can be retrieved from the dependent part; otherwise, false
.
- site
- Object
A marker used to identify the individual dependency among those on the dependent part.
Returns
The constructed dependency.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示