다음을 통해 공유


HostMessageReceivedCallback 대리자

정의

더 이상 사용되지 않습니다. 격리된 Windows 환경으로 메시지를 보낼 때 호출되는 콜백 함수

public delegate void HostMessageReceivedCallback(Platform::Guid receiverId, IVectorView<Platform::Object ^> ^ message);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(4210192378, 36065, 19649, 178, 120, 50, 45, 49, 165, 228, 163)]
class HostMessageReceivedCallback : MulticastDelegate
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(4210192378, 36065, 19649, 178, 120, 50, 45, 49, 165, 228, 163)]
/// [Windows.Foundation.Metadata.Deprecated("HostMessageReceivedCallback is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
class HostMessageReceivedCallback : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 131072)]
[Windows.Foundation.Metadata.Guid(4210192378, 36065, 19649, 178, 120, 50, 45, 49, 165, 228, 163)]
public delegate void HostMessageReceivedCallback(Guid receiverId, IReadOnlyList<object> message);
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 131072)]
[Windows.Foundation.Metadata.Guid(4210192378, 36065, 19649, 178, 120, 50, 45, 49, 165, 228, 163)]
[Windows.Foundation.Metadata.Deprecated("HostMessageReceivedCallback is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public delegate void HostMessageReceivedCallback(Guid receiverId, IReadOnlyList<object> message);
var hostMessageReceivedCallbackHandler = function(receiverId, message){
/* Your code */
}
Public Delegate Sub HostMessageReceivedCallback(receiverId As Guid, message As IReadOnlyList(Of Object))

매개 변수

receiverId
Guid

Platform::Guid

winrt::guid

메시지 수신자용 GUID입니다.

message

IVectorView<Object>

IReadOnlyList<Object>

IVectorView<Platform::Object>

IVectorView<IInspectable>

IIterable

특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 2004 (10.0.19041.0에서 도입되었습니다.)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (v2.0에서 도입되었습니다.)

설명

경고

더 이상 사용되지 않는 API입니다.

적용 대상