A.To the StockQuote class, add the following attribute:
B.To the StockQuote class, add the following attribute: 〈Transaction(TransactionOption.Required)>
C.Implement the ISecurityCallContext COM interface in the StockQuote class. Implement the IsCallerlnRole method for the Customers and Managers roles
D.To the StockQuote class, add the following attributes:
E.To the beginning of the GetQuote method, add the following code segment:If Not ContextUtil.IsCallerlnRole("Managers,Customers")_Then Throw New SecurityException("Access is denies.”)End If
长理培训客户端 资讯,试题,视频一手掌握
去 App Store 免费下载 iOS 客户端