ContentSiteEnvironment Class
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.
Provides information about the ContentSite environment to an associated ContentIsland.
[WebHostHidden]
public ref class ContentSiteEnvironment
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class ContentSiteEnvironment
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ContentSiteEnvironment
Public Class ContentSiteEnvironment
- Inheritance
- Attributes
Remarks
The ContentIslandEnvironment is configured by the settings specified in a ContentSiteEnvironment.
Each ContentSite has a ContentSiteEnvironment that manages the ContentIslandEnvironment settings. An IContentSiteBridge implementation is responsible for deciding when to propagate information from the ContentSiteEnvironment to the ContentIslandEnvironment. This enables the IContentSiteBridge to determine policy how the environment is represented to the ContentIsland.
Properties
AppWindowId |
Gets or sets the ID of the top-level Win32 HWND. |
DisplayId |
Gets or sets the "metrics authority" monitor ID. |
View |
Gets the ContentSiteEnvironmentView associated with the ContentSiteEnvironment. |
Methods
NotifySettingChanged(String) |
Tells a ContentIslandEnvironment to raise a SettingChanged event. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기