Skip to content

Commit a950ccc

Browse files
authored
Merge pull request #2400 from JaiganeshKumaran/patch-1
Update appinfo_current.md
2 parents c0e0f92 + 03def33 commit a950ccc

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

windows.applicationmodel/appinfo_current.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1-
---
2-
-api-id: P:Windows.ApplicationModel.AppInfo.Current
3-
-api-type: winrt property
4-
---
5-
1+
---
2+
-api-id: P:Windows.ApplicationModel.AppInfo.Current
3+
-api-type: winrt property
4+
---
5+
66
<!-- Property syntax.
77
public AppInfo Current { get; }
88
-->
99

10-
# Windows.ApplicationModel.AppInfo.Current
11-
10+
# Windows.ApplicationModel.AppInfo.Current
11+
1212
## -description
1313
Retrieves the AppInfo object corresponding to the currently running process.
1414

1515
## -property-value
1616
The AppInfo that corresponds to the process.
1717

1818
## -remarks
19-
When used by an unpackaged application, this property returns a null pointer.
19+
When used by an unpackaged application, accessing this property throws an **InvalidOperationException** with HRESULT `80073D54`, indicating "The process has no package identity."
20+
2021

2122
## -see-also
2223

0 commit comments

Comments
 (0)