1
Nuget version: Ical.Net 2.2.30
observed behavior: Status sets as OOF
expected behavior: Status should set as BUSY

BEGIN:VCALENDAR
PRODID:-//Apple Inc.//iCal 5.0.2//EN
VERSION:2.0
BEGIN:VEVENT
DESCRIPTION:Test
DTEND:20170324T104500Z
DTSTAMP:20170324T093907Z
DTSTART:20170324T103000Z
SEQUENCE:0
STATUS:Confirmed
SUMMARY:Test
UID:FC97A241-EC79-4848-8842-3920C58EE520
END:VEVENT
END:VCALENDAR

事件创建正常,忙碌时间检索正常,但如果我的 Outlook 客户端上有 icloud 帐户,它会显示状态为 OOF 而不是忙碌。

4

1 回答 1

2

我找到了解决方案。

解决方案:需要手动添加 X-MICROSOFT-CDO-BUSYSTATUS 属性。

event.AddProperty("X-MICROSOFT-CDO-BUSYSTATUS", "BUSY");

谢谢!

于 2017-03-24T10:38:31.147 回答