我有功能:
[FunctionName("test-function")]
[return: ServiceBus("topic-name", Connection = "connection-string")]
public static Task<Message> TestFunction([TimerTrigger("%TimerSchedule%")]TimerInfo timer, ILogger log)
{
return Task.FromResult(new Message());
}
如何通过反射获得 ServiceBus 属性,因为它不是方法CustomAttributes集合的一部分?
答案 0 :(得分:1)
Getting Attribute Data For Return Value of .NET Method
#include<stdlib.h>
int main(){
system("gnome-session-quit"); //logs out.
}