0
在AfterReceiveRequest方法中,我找到了請求類型(httprequest或Soap reqest)嗎?WCF AfterReceiveRequest(IDispatchMessageInspector的成員)找出請求類型?
public object AfterReceiveRequest(ref System.ServiceModel.Channels.Message request, System.ServiceModel.IClientChannel channel, System.ServiceModel.InstanceContext instanceContext)
{
//get request type
}
你是指http還是net.tcp? SOAP可以是http請求的主體,因此它們不是相互排斥的。 – Crowcoder
@Crowcoder Yess –